From 448cda2a57a1a234aed84cda0937b7283f3ae181 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 27505ac..5e4d19c 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