From 5d58b98547f92ee7fede1a7bce22c6cbd42ff212 Mon Sep 17 00:00:00 2001 From: Alexander Simonov Date: Sun, 22 May 2011 01:32:06 +0200 Subject: [PATCH] load base PATH for the MacOS X --- plugins/osx/osx.plugin.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index 81eed5e92..3f8809893 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -2,6 +2,11 @@ function savepath() { pwd > ~/.current_path~ } +# load base PATH +if [ -x /usr/libexec/path_helper ]; then + eval `/usr/libexec/path_helper -s` +fi + function tab() { savepath osascript >/dev/null <