X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8819dc55e06b60d1da44a4981c9c45bb2cf3f288..b51f3563d6cb0010825b2d2b9fe01e687f54345a:/bin/weechat?ds=inline diff --git a/bin/weechat b/bin/weechat index eebd885..885837c 100755 --- a/bin/weechat +++ b/bin/weechat @@ -3,4 +3,8 @@ jobs -Z weechat 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