shell-wrappers: extend g-add script to allow non-tmux sessions

This commit is contained in:
Alexander Gehrke 2021-07-12 10:27:20 +02:00
parent 4f440e962b
commit cd33a054b8
3 changed files with 38 additions and 16 deletions

View file

@ -8,4 +8,4 @@ else
server="qwerty";
fi
exec x-terminal-emulator -t Weechat -e tmux new-session mosh "${server}" -- tmux attach "$@" -t weechat
exec x-terminal-emulator -t Weechat -e mosh "${server}" -- tmux attach "$@" -t weechat