an easier way to navigate up directories
There are three ways to invoke up
: without arguments, with an integer
argument, with a name of a path beginning with a directory in the current
path.
~/one/two
$ up
~/one
~/one/two/three
$ up 2
~/one
~/one/left/two/three
$ up one/right
~/one/right
Using zplug
Add to your .zshrc
:
zplug "cjayross/up"
Using zgen
Add to your .zshrc
:
zgen load cjayross/up
zgen save
Using Antigen
Add to your .zshrc
:
antigen bundle cjayross/up
antigen apply