Created
May 24, 2011 13:24
-
-
Save xlmo/988687 to your computer and use it in GitHub Desktop.
将下面代码加入~/.bashrc或~/.bash_profile
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
| alias cdf="eval \"cd \\\"\\\`osascript -e 'tell app \\\\\\\"Finder\\\\\\\" to return the POSIX path of (target of window 1 as alias)'\\\`\\\"\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment