11 lines
188 B
Bash
Executable file
11 lines
188 B
Bash
Executable file
#!/bin/zsh
|
|
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
|