From e5391f554596fb17dc1472aa63022d3b7a11e94a Mon Sep 17 00:00:00 2001 From: John McDonnell Date: Sat, 1 Dec 2012 21:44:20 -0500 Subject: [PATCH] Revert "Gracefully handle launchctl failure, using reattach script if possible." This reverts commit 4361239a98fbeae1bcabd85d3cd62e6a14ded1f3. This is better handled in .tmux.conf --- runcoms/zlogin | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/runcoms/zlogin b/runcoms/zlogin index cfd74e4e..9e315775 100644 --- a/runcoms/zlogin +++ b/runcoms/zlogin @@ -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 } &!