From: Simon Ruderich Date: Sun, 17 Jan 2010 14:57:16 +0000 (+0100) Subject: shell: Add ~/bin to PATH if available. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;ds=sidebyside;h=b2e5bd4f5d284f66ef919054ed3bdc776e5498fc;p=config%2Fdotfiles.git shell: Add ~/bin to PATH if available. --- 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