load base PATH for the MacOS X

This commit is contained in:
Alexander Simonov 2011-05-22 01:32:06 +02:00
commit 5d58b98547

View file

@ -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 <<EOF