Skip to content

Instantly share code, notes, and snippets.

@supermarin
Created June 10, 2013 16:31
Show Gist options
  • Save supermarin/5750174 to your computer and use it in GitHub Desktop.
Save supermarin/5750174 to your computer and use it in GitHub Desktop.
Quickly move from / to project directories in Fish shell
# Search through my code directories and quickly open project folder
# wo = workon
function wo
set -l code_dir ~/code
cd (find $code_dir -type d -maxdepth 3 | grep -i $argv | grep -Ev Pods --max-count=1)
end
@kattrali
Copy link

Thank you, Marin of 2013. I couldn't figure out how to translate this function.

@supermarin
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment