12 lines
213 B
Bash
Executable file
12 lines
213 B
Bash
Executable file
#!/bin/zsh
|
|
#dep:alacritty tmux mosh
|
|
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
|