From 003732b24ad7c6562550ae781a9ec01a29a31b0f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 12 Nov 2010 22:51:20 +0100 Subject: [PATCH] shell/env: First add ~/.shell/bin to PATH. So scripts in ~/.bin or ~/bin overrule it. --- shell/env | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/env b/shell/env index 15d8f45..d478b17 100644 --- a/shell/env +++ b/shell/env @@ -10,15 +10,15 @@ LANG=en_US.UTF-8 export LANG # Add ~/bin and ~/.bin and ~/.shell/bin to PATH if available. +if [ -d ~/.shell/bin ]; then + PATH=~/.shell/bin:$PATH +fi if [ -d ~/bin ]; then PATH=~/bin:$PATH fi if [ -d ~/.bin ]; then PATH=~/.bin:$PATH fi -if [ -d ~/.shell/bin ]; then - PATH=~/.shell/bin:$PATH -fi # Use Vim as editor. EDITOR=vim -- 2.44.1