A simple command-line jump utility
cd /Users/duncan/working
jump -a # Adds `/Users/duncan/working` as `working`
cd ~/Documents
jump working
pwd # /Users/duncan/working
Before you can use it, you should probably install it!
npm install -g jumpy
Add the following line: source /.npm-packages/lib/node_modules/jumpy/jump
Protip: Add alias j='jump'
while you're there
j -a
- adds the current directory to your alias list
j -a --as foo
- as above, but aliased to foo
rather than the directory name
j -r
- removes the current directory from your alias list
j -r foo
- removes the foo
alias
j -l
- print all current aliases
j -h
- show the help screen
Copyright Duncan Smith 2015