diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-06-25 15:38:33 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-06-25 15:38:33 +0000 |
commit | 90195e5a1f9e05665271876158426514f3a44f26 (patch) | |
tree | 83a73ffa1f5d2f3e58320c12a3ab47a3398debd8 /zshrc | |
parent | e4b70afbd34a864ef140128fbe937293b02ba251 (diff) |
Handle testnet port
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@150 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -220,6 +220,11 @@ if [ "$HOSTNAME" = 'asteria' ] && [ -x /usr/bin/sudo ] ; then alias irssi-$name="irssi --home=$HOME/.irssi-$name --connect=$ip --nick=weasel-$name $oftcircport" done + if [ -e "$HOME/.oftc-testnet-port" ]; then + oftcircport="--port=`cat $HOME/.oftc-testnet-port`" + else + oftcircport="" + fi ( sudo cat /home/oftc/testnet-hybrid/etc/ircd.conf | $HOME/bin/list-servers echo "neutron 86.59.21.34" |