]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
shell/env: Also add ~/.bin to PATH if it exists.
authorSimon Ruderich <simon@ruderich.org>
Thu, 11 Mar 2010 00:26:54 +0000 (01:26 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 11 Mar 2010 00:26:54 +0000 (01:26 +0100)
shell/env

index 038de39b0721c7ee7dfb2a5a5dea468df1802f77..a9163179c41d755a8a013d3d606f5794f0e26001 100644 (file)
--- a/shell/env
+++ b/shell/env
@@ -20,10 +20,13 @@ source_debug "sourcing ~/.shell/env"
 LANG=en_US.UTF-8
 export LANG
 
-# Add ~/bin to PATH if available.
+# Add ~/bin and ~/.bin to PATH if available.
 if [ -d ~/bin ]; then
     PATH=~/bin:$PATH
 fi
+if [ -d ~/.bin ]; then
+    PATH=~/.bin:$PATH
+fi
 
 # Use Vim as editor.
 EDITOR=vim