Created
October 9, 2012 12:45
-
-
Save Kilian/3858593 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 w { | |
if [[ $1 == "" ]]; then | |
command cd ~/workspace/; | |
else | |
command cd ~/workspace/$1; | |
fi; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Weird! this is what I'm getting:
Matt ~: w
-bash: cd: /Users/Matt/workspace/: No such file or directory
Matt ~: w foo
-bash: cd: /Users/Matt/workspace/foo: No such file or directory
Are you on OSX?