Re added weechat alias after forgetting it in the split up

This commit is contained in:
David Thurstenson 2019-05-17 09:54:35 -05:00
parent e9165f2949
commit 30c53ca722
1 changed files with 4 additions and 0 deletions

4
.bashrc.d/weechat.sh Normal file
View File

@ -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'