Created
July 20, 2015 20:39
-
-
Save montyanderson/1341dc9ee8f410a4b529 to your computer and use it in GitHub Desktop.
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
for D in ~/bin/*; do | |
if [ -d "${D}" ]; then | |
export PATH=$PATH:${D} | |
if [ -d "${D}/bin" ]; then | |
export PATH=$PATH:${D}/bin | |
fi | |
if [ -d "${D}/src" ]; then | |
export PATH=$PATH:${D}/src | |
fi | |
fi | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment