directory tagging and navigation utility.
Dtags makes tagging, and change directories fast and easy. Add arbitrary tags to any directory, making it easy to jump back to those directories easy.
Installation consists of 3 parts.
- an alias in your bashrc/zshrc.
- bash helper script that is used to launch commands and
cdto tagged directories.
- the guts, a go utility that does all the heavy lifting.
Download dtags and set permissions:
sudo curl -L https://github.com/tylerfowle/dtags/releases/download/v0.1.1/dtags -o /usr/local/bin/dtags sudo chmod +x /usr/local/bin/dtags
Install bash helper script:
Alias: add to your bashrc/zshrc:
alias dt=". ~/.config/dtags/dt"
||returns a path from a tag,
||add tag to current working directory|
||delete tag and associated path from database, dtags doesnt care were this command is ran from|
||prints all tags and their associated directories|
||lists all tags on current working directory|
||returns a list of all tags in database. (used for bash/zsh completion)|
||install dt bash helper script|
- add images/gifs to readme
- make tags case insensitive
- zsh completion
- bash completion
- confirm overwrite?
- add install script
- add uninstall script
- add ability to manually enter path when adding tag
bash helper script - make dtags path easy to change
- add ability to add and delete multiple tags at once?
config file? alias name? install location? bucket name?