change TMUX to TMUX_BIN to avoid conflicts

This commit is contained in:
Jakobus Schürz 2020-05-26 10:47:22 +02:00
parent 89d56215e3
commit 0640c8febc

View file

@ -437,10 +437,10 @@ function tmuxx() {
echo no session specified return
;;
esac
TMUX='/usr/bin/tmux'
$TMUX -f ~/.tmux.conf new-session -d
[ -e ${SESS[0]} ] && $TMUX source-file ${SESS[0]}
$TMUX attach-session -d
TMUX_BIN='/usr/bin/tmux'
$TMUX_BIN -f ~/.tmux.conf new-session -d
[ -e ${SESS[0]} ] && $TMUX_BIN source-file ${SESS[0]}
$TMUX_BIN attach-session -d
}