Set PATH for Mac OS X GUI applications.

This commit is contained in:
Sorin Ionescu 2011-09-05 00:32:39 -04:00
parent 574d856ae3
commit 448cda2a57

View File

@ -21,6 +21,11 @@ for plugin in $plugins; do
fi
done
# Set PATH for Mac OS X GUI applications (requires re-login).
if [[ "$OSTYPE" == darwin* ]]; then
launchctl setenv PATH "$PATH" &!
fi
# Load and run the prompt theming system.
autoload -Uz promptinit && promptinit -i