X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/1dd589ac06e5899c1071e562c6827771f84ec132..a59aa3f7d15dae57e2d066e47af3556c46d9dac4:/bin/weechat?ds=inline diff --git a/bin/weechat b/bin/weechat index f13ff1e..97d773d 100755 --- a/bin/weechat +++ b/bin/weechat @@ -1,10 +1,10 @@ -#!/usr/bin/zsh +#!/usr/bin/env zsh jobs -Z weechat host=rmz.io -if tmux -L weechat has-session -t weechat; then +if tmux -L weechat has-session -t weechat 2>/dev/null; then tmux -L weechat attach else - autossh -M0 -t $host "tmux -L weechat attach" + ssh -t $host "LANG=en_GB.UTF-8 tmux -L weechat attach" fi