]> git.rmz.io Git - dotfiles.git/commitdiff
weechat: export LANG when connecting to rmz.io
authorSamir Benmendil <me@rmz.io>
Mon, 26 Dec 2016 01:16:51 +0000 (01:16 +0000)
committerSamir Benmendil <me@rmz.io>
Mon, 26 Dec 2016 01:27:59 +0000 (01:27 +0000)
bin/weechat

index 483fd31c124c239b03024376b734305fad6bbc80..885837cada170e8408cec0f7a6bb5eacab639016 100755 (executable)
@@ -6,5 +6,5 @@ host=rmz.io
 if [[ "$(hostnamectl --static)" == "$host" ]]; then
     /usr/bin/weechat "$@"
 else
 if [[ "$(hostnamectl --static)" == "$host" ]]; then
     /usr/bin/weechat "$@"
 else
-    autossh -M0 -t $host "tmux -u new-session -As weechat weechat"
+    autossh -M0 -t $host "LANG=en_GB.UTF-8 tmux -u new-session -As weechat weechat"
 fi
 fi