Created
October 3, 2010 03:55
-
-
Save mooz/608246 to your computer and use it in GitHub Desktop.
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
function cdup() { | |
echo | |
cd .. | |
echo "=> $PWD" | |
zle reset-prompt | |
} | |
function cdprev() { | |
echo | |
popd | |
zle reset-prompt | |
} | |
zle -N cdup | |
zle -N cdprev | |
bindkey '^u' cdup | |
bindkey '^j' cdprev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment