the tmux autostart thingy was acting up. disabled for now.

This commit is contained in:
Gabe Venberg 2018-07-26 18:46:26 -05:00
parent 2eab908ef5
commit 346de3fbb0

View file

@ -156,8 +156,9 @@ local LOCAL_ZSHRC=$HOME/.zshlocal/.zshrc # Allow the local machine to have
source $LOCAL_ZSHRC source $LOCAL_ZSHRC
fi fi
#launch a tmux session for interactive shells (attaching to an existing tmux session if possible. ##launch a tmux session for interactive shells (attaching to an existing tmux session if possible.
if which tmux > /dev/null 2>&1; then #checks if tmux is installed. if it is not, do nothing. #seems to be buggy for now, sometimes doesnt work.
#try to attach to an exsisting tmux session, or, if that doesnt exist, make a new one. #if which tmux > /dev/null 2>&1; then #checks if tmux is installed. if it is not, do nothing.
test -z ${TMUX} && (tmux attach || tmux new-session) # #try to attach to an exsisting tmux session, or, if that doesnt exist, make a new one.
fi # test -z ${TMUX} && (tmux attach || tmux new-session)
#fi