Skip to content

Instantly share code, notes, and snippets.

@mguymon
Last active January 2, 2016 17:29
Show Gist options
  • Save mguymon/8337187 to your computer and use it in GitHub Desktop.
Save mguymon/8337187 to your computer and use it in GitHub Desktop.
Load up the path with symlinked dirs from the home bin dir
# 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