From 475751e6d0082a416d6b2a445f5ee47396b74eee Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sat, 18 Jun 2011 16:07:17 +0100 Subject: [PATCH] Load a script setting the $PATH variable The file 'custom/path/path.zsh' can be created to automatically set the $PATH variable. This script is executed before everything else. This way, every executable will point to the correct one. --- oh-my-zsh.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index d72d90cf9..246a69287 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -1,3 +1,7 @@ +if [ -f $ZSH/custom/path/path.zsh ]; then + source $ZSH/custom/path/path.zsh +fi + # Check for updates on initial load... if [ "$DISABLE_AUTO_UPDATE" != "true" ] then