From: Samir Benmendil Date: Sun, 28 Jul 2019 15:44:36 +0000 (+0100) Subject: bin: use new method to access remove weechat X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/8bec8281c3f17b74b4b90453273f841d7ed48cfc?ds=sidebyside bin: use new method to access remove weechat --- diff --git a/bin/weechat b/bin/weechat index 885837c..9971965 100755 --- a/bin/weechat +++ b/bin/weechat @@ -3,8 +3,4 @@ jobs -Z weechat host=rmz.io -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 +autossh -M0 -t $host "LANG=en_GB.UTF-8 tmux -L weechat attach"