Changed weechat to use thurstylark-vps
This commit is contained in:
parent
d268eb9172
commit
5fcefb5a05
6
.bashrc
6
.bashrc
|
@ -76,12 +76,12 @@ alias nmap='sudo -E nmap'
|
|||
# Client depends: ssh, mosh, correct ssh host configuration
|
||||
# Server depends: ssh, mosh, screen, weechat, weechat.service (custom)
|
||||
|
||||
# Only do this if weechat isn't installed and you aren't thurstyserv
|
||||
# Only do this if weechat isn't installed and you aren't thurstylark-vps
|
||||
if [[ ! -s /usr/bin/weechat ]]; then
|
||||
# Connect to the existing screen session through mosh
|
||||
# (disconnecting it elsewhere if necessary)
|
||||
alias weechat='mosh home -- screen -dr weechat'
|
||||
elif [[ "$HOSTNAME" -eq "thurstyserv" ]]; then
|
||||
alias weechat='mosh vps -- screen -dr weechat'
|
||||
elif [[ "$HOSTNAME" -eq "thurstylark-vps" ]]; then
|
||||
# Connect to the existing screen session locally
|
||||
# (disconnecting it elsewhere if necessary)
|
||||
alias weechat='screen -dr weechat'
|
||||
|
|
Loading…
Reference in New Issue