diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-05-21 17:10:44 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-05-21 17:10:44 +0000 |
commit | 00d7bcaef63c440c65c7cd2b3a5dc78c11c58db5 (patch) | |
tree | 433d5230597236485d23eca2ed97f1eef2841384 /zshrc | |
parent | 1f192da1c9e7bd16ff14f8cca7271de85f624f34 (diff) |
testnet aliases
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@104 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |