From 30c53ca7224b583ed5068038b697653810e3b94b Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Fri, 17 May 2019 09:54:35 -0500 Subject: [PATCH] Re added weechat alias after forgetting it in the split up --- .bashrc.d/weechat.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .bashrc.d/weechat.sh diff --git a/.bashrc.d/weechat.sh b/.bashrc.d/weechat.sh new file mode 100644 index 0000000..612dcbf --- /dev/null +++ b/.bashrc.d/weechat.sh @@ -0,0 +1,4 @@ +# If you don't have weechat installed, connect to the existing tmux session through mosh +[[ ! -s /usr/bin/weechat ]] && alias weechat='mosh vps -- tmux attach -dt weechat' +# If you are thurstylark-vps, connect to the existing tmux session locally +[[ "$HOSTNAME" = "thurstylark-vps" ]] && alias weechat='tmux attach -dt weechat'