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.
This commit is contained in:
Colin Hebert 2011-06-18 16:07:17 +01:00
commit 475751e6d0

View file

@ -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... # Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" != "true" ] if [ "$DISABLE_AUTO_UPDATE" != "true" ]
then then