Last active
December 27, 2015 00:09
-
-
Save nbfritz/7235218 to your computer and use it in GitHub Desktop.
Simple go-tool clone for pure bash. Great for when I want easy directory jump capabilities without wanting to install python.
This file contains hidden or 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
| # put the following function into .bash_profile or .bashrc to evaluate this file | |
| # function go { `awk -v val=^$1$ '$1!~/^[:space:]*#/ && $1~val { print "cd "$2 }' ~/.go_shortcuts`; } | |
| sample /some/deep/directory/to/link/to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment