Merge branch 'master' of ssh://zom.bi:9097/madmaurice/configfiles
This commit is contained in:
commit
0554277455
1 changed files with 5 additions and 0 deletions
5
zsh-autotmux/.zsh/99-autotmux.zsh
Normal file
5
zsh-autotmux/.zsh/99-autotmux.zsh
Normal file
|
@ -0,0 +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
|
||||
fi
|
Loading…
Reference in a new issue