X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/1b34e5bf23e5d5a68632e0d6ab0433472accde7d..refs/heads/cadscan:/bin/weechat diff --git a/bin/weechat b/bin/weechat index 483fd31..7452473 100755 --- a/bin/weechat +++ b/bin/weechat @@ -1,10 +1,11 @@ #!/usr/bin/zsh jobs -Z weechat +user=ramsi 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