From 1eda53ae9fe03d08f9e56076a82b6766ff431c28 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Fri, 18 Oct 2019 10:21:36 +0100 Subject: [PATCH] bin: make tmux check quiet and set utf8 LANG --- bin/weechat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/weechat b/bin/weechat index f13ff1e..f95651d 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" + autossh -M0 -t $host "LANG=en_GB.UTF-8 tmux -L weechat attach" fi -- 2.48.1