From b2e5bd4f5d284f66ef919054ed3bdc776e5498fc Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 17 Jan 2010 15:57:16 +0100 Subject: [PATCH] shell: Add ~/bin to PATH if available. --- shell/env | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell/env b/shell/env index 38ee013..3395e4b 100644 --- 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 -- 2.45.2