🧗 up
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.
✨ Features
- ⚡ Lightning fast
- ⌨️ Shell completion for parent directory names
- 🐚 Works with Bash and Zsh
🛠️ Installation
🐚 Git & Bash
Clone up's Git repository.
$ git clone https://github.com/helpermethod/up ~/.upAdd the following to your .bashrc (Linux) or .bash_profile (macOS) to install up.
Add the following to your .bashrc (Linux) or .bash_profile (macOS) to enable up's shell completion.
. "$HOME/.up/completion/bash/up"
🐚 Git & Zsh
Clone up's Git repository.
$ git clone https://github.com/helpermethod/up ~/.upAdd the following to your .zshrc to install 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"
🔍 Usage
Get a list of parent directory names
$ up <tab> .up / Users completion weilero
