scripts/misc/sweechat

12 lines
213 B
Plaintext
Raw Normal View History

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