Revert "Add the launch of tmux, if available."

This reverts commit 77e9a05e9c.
This commit is contained in:
Scott Wallace 2015-09-23 23:05:34 +01:00
parent 2313fe22d1
commit 69c05d0b37

14
.bashrc
View file

@ -75,17 +75,3 @@ for FILE in ~/.bash/auto_complete.d/*; do source ${FILE}; done
#-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------
[ -f ~/.bashrc_local ] && source ~/.bashrc_local [ -f ~/.bashrc_local ] && source ~/.bashrc_local
#--------------------------------------------------------------------------------
# Launch tmux, if available
#--------------------------------------------------------------------------------
if which tmux &> /dev/null; then
if ! tmux attach &> /dev/null; then
if [[ ! $TERM =~ screen ]]; then
exec tmux
fi
else
exit
fi
fi
#--------------------------------------------------------------------------------