Skip to content

A zshell plugin for the "up" command, which can cd up an arbitrary number of directories

Notifications You must be signed in to change notification settings

peterhurford/up.zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Up

Up, the ZShell Plugin

Tired of cd ., cd .., cd ..., cd ...., using multiple different aliases to navigate up directories?

Why not use the power of up?

Type up to go up one directory. Type up 2 to go up two directories. Type up 3 to go up three directories. And so on.

No more defining a cd ............... alias. Just up 15.

Installation

Antigen

If you use the antigen framework, add antigen bundle peterhurford/up.zsh to your .zshrc

oh-my-zsh

Assuming you have oh-my-zsh, you can simply write

git clone https://github.com/peterhurford/up.zsh ~/.oh-my-zsh/custom/plugins/up
echo "plugins+=(up)" >> ~/.zshrc

(Alternatively, you can place the up plugin in the plugins=(...) local manually.)

Zgen

If you're using the zgen framework, add zgen load peterhurford/up.zsh to your .zshrc with your other load commands.

If you're lame and use bash, you can install this directly to your ~/.bash_profile:

curl -s https://raw.githubusercontent.com/peterhurford/up.zsh/master/up.plugin.zsh >> ~/.bash_profile

About

A zshell plugin for the "up" command, which can cd up an arbitrary number of directories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages