Set PATH for Mac OS X GUI applications.
This commit is contained in:
parent
574d856ae3
commit
448cda2a57
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue