Tired of repeatedly typing
cd ..to walk up the directory tree? Fed up with defining aliases to jump to the first, second or nth parent directory?upto the rescue!
up is a shell function for jumping to a parent directory by name.
- ⚡ Lightning fast
- ⌨️ Shell completion for parent directory names
- 🐚 Works with Bash and Zsh
Clone up's Git repository.
$ git clone https://github.com/helpermethod/up ~/.up
Add the following to your .bashrc (Linux) or .bash_profile (macOS) to install up.
. "$HOME/.up/up"
Add the following to your .bashrc (Linux) or .bash_profile (macOS) to enable up's shell completion.
. "$HOME/.up/completion/bash/up"
Clone up's Git repository.
$ git clone https://github.com/helpermethod/up ~/.up
Add the following to your .zshrc to install up.
. "$HOME/.up/up"
Add the following to your .zshrc to enable up's shell completion.
autoload -U +X compinit && compinit
autoload -U +X bashcompinit && bashcompinit
. "$HOME/.up/completion/bash/up"
$ up <tab>
.up / Users completion weilero
$ up weilero
$ up we<tab>
