]> git.rmz.io Git - dotfiles.git/blobdiff - bin/weechat
Other changes at cadscan (with the ones I want to keep stripped)
[dotfiles.git] / bin / weechat
index 483fd31c124c239b03024376b734305fad6bbc80..74524734e73c9e03921a33f22c755a9c9bf583ec 100755 (executable)
@@ -1,10 +1,11 @@
 #!/usr/bin/zsh
 jobs -Z weechat
 
 #!/usr/bin/zsh
 jobs -Z weechat
 
+user=ramsi
 host=rmz.io
 
 if [[ "$(hostnamectl --static)" == "$host" ]]; then
     /usr/bin/weechat "$@"
 else
 host=rmz.io
 
 if [[ "$(hostnamectl --static)" == "$host" ]]; then
     /usr/bin/weechat "$@"
 else
-    autossh -M0 -t $host "tmux -u new-session -As weechat weechat"
+    autossh -M0 -t $user@$host "LC_CTYPE=en_GB.UTF-8 tmux -u new-session -As weechat weechat"
 fi
 fi