Created
June 10, 2013 16:31
-
-
Save supermarin/5750174 to your computer and use it in GitHub Desktop.
Quickly move from / to project directories in Fish shell
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
# 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 |
Author
supermarin
commented
Mar 7, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment