Created
April 1, 2012 18:48
-
-
Save resure/2277659 to your computer and use it in GitHub Desktop.
Jump-To-Dir Plugin for oh-my-zsh (inspired by Ryan Bates's config).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c() { cd ~/code/$1; } | |
_c() { _files -W ~/code -/; } | |
h() { cd ~/$1; } | |
_h() { _files -W ~/ -/; } | |
b() { cd ~/Dropbox/$1; } | |
_b() { _files -W ~/Dropbox/ -/; } | |
t() { cd ~/Temporary/$1; } | |
_t() { _files -W ~/Temporary/ -/; } | |
o() { cd ~/Work/$1; } | |
_o() { _files -W ~/Work/ -/; } | |
compdef _c c | |
compdef _h h | |
compdef _b b | |
compdef _o o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment