bashrc/.bashrc.d/weechat.bash

5 lines
362 B
Bash
Raw Normal View History

# If you don't have weechat installed, connect to the existing tmux session through mosh
2021-11-22 03:22:47 +00:00
[[ ! -s /usr/bin/weechat ]] && alias weechat='mosh thurstyserv -- tmux -L tl-weemux attach -dt tl-weemux'
# If you are thurstylark-vps, connect to the existing tmux session locally
2021-11-22 03:22:47 +00:00
[[ "$HOSTNAME" = "thurstyserv" ]] && alias weechat='tmux -L tl-weemux attach -dt tl-weemux'