Skip to content

Instantly share code, notes, and snippets.

@markrickert
Created January 22, 2014 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markrickert/8567818 to your computer and use it in GitHub Desktop.
Save markrickert/8567818 to your computer and use it in GitHub Desktop.
wo - "Work On", a bash alias for quickly cd-ing into directories
# wo = work on
wo() {
code_dir=~/Dropbox # replace it with your development directory
cd $(find $code_dir -type d -maxdepth 3 | grep -i $* | grep -Ev Pods --max-count=1)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment