Re:Quickly go back to a directory instead of typing cd ../../..
by cygni on Sunday September 01, 2013 @10:36AM
(#6310518)
I have these two aliases in my .zshrc file:
For moving around to other directories I use autojump (https://github.com/joelthelion/autojump).
[ Parent
| on HN ]
Re:Quickly go back to a directory instead of typing cd ../../..
by kroger on Sunday September 01, 2013 @01:03PM
(#6311116)
I have the same, but I use cd[a]+:
alias cda='cd ../' alias cdaa='cd ../../' alias cdaaa='cd ../../../'
I guess I was influenced by Lisp at the time, with car, cdr, cdar, cddr, etc ;-)