From 961aa3287fff1fd5cd510b01d43409f27a3d95c5 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Mon, 5 Sep 2011 00:32:39 -0400 Subject: [PATCH] Set PATH for Mac OS X GUI applications. --- oh-my-zsh.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/oh-my-zsh.zsh b/oh-my-zsh.zsh index 27505ac3..5e4d19c5 100644 --- a/oh-my-zsh.zsh +++ b/oh-my-zsh.zsh @@ -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