summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zshrc10
1 files changed, 8 insertions, 2 deletions
diff --git a/zshrc b/zshrc
index 1a21a1c..c7ecd25 100644
--- a/zshrc
+++ b/zshrc
@@ -215,10 +215,16 @@ if [ "$HOSTNAME" = 'asteria' ] && [ -x /usr/bin/sudo ] ; then
#echo "nobelium6 2001:618:400:a635::3:750"
) | while read name ip; do
alias -g $name-ip="$ip"
- alias -g ip-$name="$ip"
- alias $name-irssi="irssi --home=$HOME/.irssi-$name --connect=$ip --nick=weasel-$name"
alias irssi-$name="irssi --home=$HOME/.irssi-$name --connect=$ip --nick=weasel-$name"
done
+
+ (
+ sudo cat /home/oftc/testnet-hybrid/etc/ircd.conf | $HOME/bin/list-servers
+ echo "neutron 86.59.21.34"
+ ) | while read name ip; do
+ alias -g $name-testnet-ip="$ip"
+ alias irssi-testnet-$name="irssi --home=$HOME/.irssi-$name --connect=$ip --port=16667 --nick=weasel-$name"
+ done
fi