1
0
Fork 0

Merge branch 'master' of github.com:johnmcdonnell/prezto

pull/326/head
John McDonnell 12 years ago
commit 6bf4bf0a1a

@ -16,11 +16,7 @@
# Set environment variables for launchd processes.
if [[ "$OSTYPE" == darwin* ]]; then
for env_var in PATH MANPATH; do
if which reattach-to-user-namespace > /dev/null; then
reattach-to-user-namespace launchctl setenv "$env_var" "${(P)env_var}"
else
launchctl setenv "$env_var" "${(P)env_var}" || echo "Launchctl error, possible solution: Install reattach-to-user-namespace"
fi
launchctl setenv "$env_var" "${(P)env_var}"
done
fi
} &!

Loading…
Cancel
Save