]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
shell/env: prefer ~/bin over ~/.bin
authorSimon Ruderich <simon@ruderich.org>
Sun, 16 Aug 2015 21:42:17 +0000 (23:42 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 16 Aug 2015 21:42:17 +0000 (23:42 +0200)
shell/env

index ff5e6349bf6d5f8ec3a64edd0755b26771b758d9..bd529ba1ce2f5ef25542d3d7a48f9e9394062add 100644 (file)
--- a/shell/env
+++ b/shell/env
@@ -43,16 +43,16 @@ unset LC_TIME
 # variables like $LANG or $LC_ALL.
 unset LANGUAGE
 
-# Add ~/bin and ~/.bin and ~/.shell/bin to PATH if available.
+# Add ~/bin, ~/.bin and ~/.shell/bin to PATH if available.
 if test -d "$HOME/.shell/bin"; then
     PATH="$HOME/.shell/bin:$PATH"
 fi
-if test -d "$HOME/bin"; then
-    PATH="$HOME/bin:$PATH"
-fi
 if test -d "$HOME/.bin"; then
     PATH="$HOME/.bin:$PATH"
 fi
+if test -d "$HOME/bin"; then
+    PATH="$HOME/bin:$PATH"
+fi
 
 # Use Vim as editor.
 EDITOR=vim