From 1deacf25b419a92d2f3acbc99e9ee5d83376bccb Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 10 Sep 2018 22:48:10 +0200 Subject: [PATCH] [bash] only apply tmux PATH fix on the Mac The workaround that works for the Mac breaks the PATH on Linux, so run it only on the Mac. --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index c22d791..bf995e4 100644 --- a/bashrc +++ b/bashrc @@ -21,7 +21,7 @@ fi # Prevent path_helper from messing with the PATH when starting tmux. # See: https://superuser.com/a/583502 -if [ -f /etc/profile ]; then +if [ "$(uname)" == "Darwin" ]; then export PATH="" source /etc/profile fi