Added env var to set Autotmux shell
This commit is contained in:
parent
577dc829c2
commit
0267c82083
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
if [ -z "$TMUX" ]; then
|
||||
if which tmux >/dev/null 2>&1; then
|
||||
tmux -q has-session && exec tmux attach-session -d || exec tmux new-session
|
||||
fi
|
||||
if which tmux >/dev/null 2>&1; then
|
||||
tmux -q has-session && exec tmux attach-session -d || exec tmux new-session -c ${TMUX_SHELL:-/bin/sh}
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue