From fd32b5528b301b5888d1a8764e193055a8acad91 Mon Sep 17 00:00:00 2001 From: mlang38 Date: Wed, 20 Nov 2013 13:52:53 +0100 Subject: [PATCH] Append $HOME/bin to path if it exists --- runcoms/zshenv | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runcoms/zshenv b/runcoms/zshenv index 9ff39e06..3c9a8dd3 100644 --- a/runcoms/zshenv +++ b/runcoms/zshenv @@ -46,6 +46,11 @@ path=( $path ) +# set path so it includes user's private bin if it exists +if [[ -d "$HOME/bin" ]]; then + path+="$HOME/bin" +fi + # # Less #