Skip to content

Instantly share code, notes, and snippets.

@jakob-stoeck
Created March 20, 2012 20:18
Show Gist options
  • Save jakob-stoeck/2140868 to your computer and use it in GitHub Desktop.
Save jakob-stoeck/2140868 to your computer and use it in GitHub Desktop.
use z to open macos folders (go to with regex)
# 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