]> git.rmz.io Git - dotfiles.git/blob - bin/weechat
Other changes at cadscan (with the ones I want to keep stripped)
[dotfiles.git] / bin / weechat
1 #!/usr/bin/zsh
2 jobs -Z weechat
3
4 user=ramsi
5 host=rmz.io
6
7 if [[ "$(hostnamectl --static)" == "$host" ]]; then
8 /usr/bin/weechat "$@"
9 else
10 autossh -M0 -t $user@$host "LC_CTYPE=en_GB.UTF-8 tmux -u new-session -As weechat weechat"
11 fi