diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-04-05 21:39:47 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-04-05 21:39:47 -0300 |
commit | 2376ca6bfa57a3aa3836d06ccbd55936fc64e677 (patch) | |
tree | 07838c90813d832bf004784017638d1b047a5fb1 /profile.dot.link | |
parent | 17c7b609ff105b21c406414a9598eb094ca5a014 (diff) | |
download | profile-2376ca6bfa57a3aa3836d06ccbd55936fc64e677.tar.gz profile-2376ca6bfa57a3aa3836d06ccbd55936fc64e677.tar.bz2 |
Add all ~/apps folders into PATH
Diffstat (limited to 'profile.dot.link')
-rw-r--r-- | profile.dot.link | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/profile.dot.link b/profile.dot.link index 5221411..dd75321 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -17,7 +17,14 @@ fi # Set PATH PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin -export PATH=$PATH:$HOME/apps/metadot:$HOME/apps/scripts:$HOME/apps/brweather/brweather + +# Add all ~/apps folders into PATH +for folder in `ls $HOME/apps`; do + PATH=$PATH:$HOME/apps/$folder +done + +# Export PATH +export PATH=$PATH # See http://www.caliban.org/bash/#bashtips export CDPATH=".:~:~/code:~/data:~/file:~/apps:/var/www/data" |