]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
shell: Add ~/bin to PATH if available.
authorSimon Ruderich <simon@ruderich.org>
Sun, 17 Jan 2010 14:57:16 +0000 (15:57 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 17 Jan 2010 14:57:16 +0000 (15:57 +0100)
shell/env

index 38ee013b9581f0217109b4c1c205fac39bae8c8e..3395e4beb034b84567b9182bbaa6d5608ccd5bb3 100644 (file)
--- a/shell/env
+++ b/shell/env
@@ -19,6 +19,11 @@ LC_ALL=en_US.UTF-8
 LANG=$LC_ALL
 export LC_ALL LANG
 
+# Add ~/bin to PATH if available.
+if [ -d ~/bin ]; then
+    PATH=~/bin:$PATH
+fi
+
 # Use Vim as editor.
 EDITOR=vim
 export EDITOR