scripts/misc/sweechat

12 lines
216 B
Plaintext
Raw Normal View History

2020-04-02 08:38:36 +00:00
#!/bin/zsh
#dep:x-terminal-emulator tmux mosh
2020-04-02 08:38:36 +00:00
if [[ "$1" == "-S" ]]; then
shift
server=${1};
shift
else
server="qwerty";
fi
exec x-terminal-emulator -t Weechat -e mosh "${server}" -- tmux attach "$@" -t weechat