diff options
Diffstat (limited to 'profile.dot.link')
-rw-r--r-- | profile.dot.link | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/profile.dot.link b/profile.dot.link index d896706..d63c373 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -16,20 +16,15 @@ fi #fi # Set PATH -if [ -z "$PATH_EXPORTED" ]; then - PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin +PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/local/games - # Add all ~/apps folders into PATH - for folder in `ls $HOME/apps`; do - PATH=$PATH:$HOME/apps/$folder - done +# Add all ~/apps folders into PATH +for folder in `ls $HOME/apps`; do + PATH=$PATH:$HOME/apps/$folder +done - # Export PATH - export PATH=$PATH - - # Make sure it's not exported twice - export PATH_EXPORTED=true -fi +# Export PATH +export PATH=$PATH # See http://www.caliban.org/bash/#bashtips export CDPATH=".:~:~/code:~/data:~/file:~/apps:/var/www/data" |