[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:
parent
e7e284baea
commit
1deacf25b4
1 changed files with 1 additions and 1 deletions
2
bashrc
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue