zacharyedwardsdowns / chd Goto Github PK
View Code? Open in Web Editor NEWScript to make changing to frequently visited directories faster.
License: MIT License
Script to make changing to frequently visited directories faster.
License: MIT License
Issue found where directory names with spaces do not work as subdirectories with chd.
Ex: chd test/'te st' does not work.
Currently if you use the directory names 'help', 'list', 'add', and 'delete' they wont be able to be chd to, but will be listed under supported directories.
A simple fix would be to ban these names.
A more complex but robust fix would be to make the commands flags.
When installed in a root directory chd add $HOME to the front, thus pointing to a non existent directorry.
If a directory in the supported directories list no longer exists then give the user a proper error, rather than a cd error, when they attempt to chd to it.
Also add a function to list where upon usage of 'chd list' it will notify the user of any directories in the list that no longer exist.
Title is self explanatory. chd fails when their is a space in the directory name being added.
Taking dots as input and getting+saving the absolute directory path would be a good quality of life improvement.
Example:
'chd doc' changes directory to ~/Documents.
~/Documents has a directory called 'folder' in it.
'chd doc/folder' should take you to ~/Documents/folder.
Would be useful for skipping the cd step after using chd if that directory isn't frequently used enough to be added to chd itself.
*EDIT: See comments.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.