Skip to content

Instantly share code, notes, and snippets.

@xlmo
Created May 24, 2011 13:24
Show Gist options
  • Save xlmo/988687 to your computer and use it in GitHub Desktop.
Save xlmo/988687 to your computer and use it in GitHub Desktop.
将下面代码加入~/.bashrc或~/.bash_profile
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