Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samtebbs33/dirtag
A java app that creates quick "cd" shortcuts for you
https://github.com/samtebbs33/dirtag
Last synced: about 1 month ago
JSON representation
A java app that creates quick "cd" shortcuts for you
- Host: GitHub
- URL: https://github.com/samtebbs33/dirtag
- Owner: SamTebbs33
- Created: 2015-04-18T15:31:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-27T22:10:04.000Z (about 9 years ago)
- Last Synced: 2024-10-15T02:30:13.996Z (3 months ago)
- Language: Java
- Size: 266 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DirTag
A java app that creates quick "cd" shortcuts for youIn the below example, I use a custom command **rl** to reload my **.bash_profile** file, which loads the new dirtag. It is just an alias for ". ~/.bash_profile"
![alt tag](https://github.com/SamTebbs33/DirTag/blob/master/example.gif)
Please note that it will only work on UNIX based systems, or perhaps programs that emulate one (not tested).
# Contents
* Features
* Installation
* Usage```
$ alias dirtag='java -jar dir/DirTag.jar'
```
* Add the following lines to your __~/.bash_profile__ file (or whatever file is loaded when a new bash session is started).
```
if [ -f ~/.dirtags ]; then
source ~/.dirtags
fi
```This will ensure that the dirtags are loaded when a new bash session is started.
* Now, start a new bash session, go to a totally different directory and enter the following command, replacing __name__ with the tag name.
```
$ cdname
```* You will now have changed directory!