Fix PATH clobbering in tmux

This commit is contained in:
Henrik Lissner 2014-08-27 08:44:11 -04:00
parent b7dbaef981
commit bd0db75f5b

View file

@ -3,6 +3,11 @@
# Browser # Browser
[[ "$OSTYPE" == darwin* ]] && export BROWSER='open' [[ "$OSTYPE" == darwin* ]] && export BROWSER='open'
# Reset PATH to keep it from being clobbered in tmux
if [ -x /usr/libexec/path_helper ]; then
PATH=''
source /etc/zshenv
fi
# Editors # Editors
export EDITOR='vim' export EDITOR='vim'