https://github.com/tylerfowle/dtags
Command Line Tool for Tagging Directories
https://github.com/tylerfowle/dtags
bash cd cli directory dtags go golang manager productivity script shell tags utility zsh
Last synced: 12 days ago
JSON representation
Command Line Tool for Tagging Directories
- Host: GitHub
- URL: https://github.com/tylerfowle/dtags
- Owner: tylerfowle
- License: mit
- Created: 2017-06-01T18:35:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T19:07:09.000Z (over 7 years ago)
- Last Synced: 2025-12-22T20:02:01.529Z (about 1 month ago)
- Topics: bash, cd, cli, directory, dtags, go, golang, manager, productivity, script, shell, tags, utility, zsh
- Language: Go
- Size: 4.19 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# :bookmark: dtags
#### 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
Installation consists of 3 parts.
1. an alias in your bashrc/zshrc.
2. bash helper script that is used to launch commands and `cd` to tagged directories.
3. 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:
```
dtags install
```
#### Alias: add to your bashrc/zshrc:
```
alias dt=". ~/.config/dtags/dt"
```
## Usage
Command | Description
--- | ---
`` | returns a path from a tag, `cd`s you to the directory when called from bash helper script/alias
`add` | add tag to current _working_ directory
`del` | delete tag and associated path from database, dtags doesnt care were this command is ran from
`ls` | prints all tags and their associated directories
`list` | lists all tags on current working directory
`completion` | returns a list of all tags in database. (used for bash/zsh completion)
`install` | install dt bash helper script
## Todos:
- [ ] add images/gifs to readme
- [x] make tags case insensitive
- [x] zsh completion
- [ ] bash completion
- [x] confirm overwrite?
- [x] add install script
- [ ] add uninstall script
- [x] 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?~~