Created
March 20, 2012 20:18
-
-
Save jakob-stoeck/2140868 to your computer and use it in GitHub Desktop.
use z to open macos folders (go to with regex)
This file contains 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
# add to your ~/.profile | |
. ~/sources/z/z.sh | |
zz () { (z $* && open .); } | |
# "$ z some_folder" now goes to that folder in the Terminal | |
# "$ zz some_folder" opens this folder in the Finder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment