Created
March 7, 2012 22:52
-
-
Save nicerobot/1996860 to your computer and use it in GitHub Desktop.
cdup
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
up() { cd $(for i in $(seq ${1:-1}); do cd ..; done >/dev/null 2>&1; pwd); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment