[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.
This commit is contained in:
Fernando Schauenburg 2018-09-10 22:48:10 +02:00
parent e7e284baea
commit 1deacf25b4

2
bashrc
View file

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