Skip to content

Instantly share code, notes, and snippets.

@montyanderson
Created July 20, 2015 20:39
Show Gist options
  • Save montyanderson/1341dc9ee8f410a4b529 to your computer and use it in GitHub Desktop.
Save montyanderson/1341dc9ee8f410a4b529 to your computer and use it in GitHub Desktop.
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