]> git.rmz.io Git - dotfiles.git/blob - bin/weechat
885837cada170e8408cec0f7a6bb5eacab639016
[dotfiles.git] / bin / weechat
1 #!/usr/bin/zsh
2 jobs -Z weechat
3
4 host=rmz.io
5
6 if [[ "$(hostnamectl --static)" == "$host" ]]; then
7 /usr/bin/weechat "$@"
8 else
9 autossh -M0 -t $host "LANG=en_GB.UTF-8 tmux -u new-session -As weechat weechat"
10 fi