]> git.rmz.io Git - dotfiles.git/blobdiff - bin/weechat
vim: add choice snippet for sh
[dotfiles.git] / bin / weechat
index eebd885b10ba3a2340c2c10603d6ce6e05b6ca80..885837cada170e8408cec0f7a6bb5eacab639016 100755 (executable)
@@ -3,4 +3,8 @@ jobs -Z weechat
 
 host=rmz.io
 
 
 host=rmz.io
 
-autossh -M0 -t $host "tmux -u new-session -As weechat weechat"
+if [[ "$(hostnamectl --static)" == "$host" ]]; then
+    /usr/bin/weechat "$@"
+else
+    autossh -M0 -t $host "LANG=en_GB.UTF-8 tmux -u new-session -As weechat weechat"
+fi