A small *nix command line utility for tagging the directories and chdir
'ing through them via tags.
In order to install ds4mac
, git clone
the repository in your directory for ds
. Then:
chmod 500 installer.sh
./installer.sh
The above commands will add the following to your ~/.ds
directory:
- Compile and copy to the engine,
- Create the bash script,
- Create the plain text file
tags
containing all initial tags; you can edit it in order to manipulate the tags.
ds -l # list the tags only
ds -L # list both the tags and their respective directories
ds -s # list the tags only, sorted alphabetically
ds -S # list both the tags and their respective directories, sorted alphabetically by tags
ds -d # list both the tags and their respective directories, sorted alphabetically by directories
ds tag # switch to the directory tagged by `tag` or match the topmost tag with the minimum Levenshtein distance
ds # switch to the previous directory. This allows the user to jump between two directories back and forth