Last active
January 2, 2016 17:29
-
-
Save mguymon/8337187 to your computer and use it in GitHub Desktop.
Load up the path with symlinked dirs from the home bin dir
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
# Load all symlinked directories in bin to the path | |
for file in ~/bin/*; do | |
if [[ -L "$file" && -d "$file" ]] | |
then | |
export PATH=$file:$PATH | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment