summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 8f8c60b..5f68a30 100644
--- a/zshrc
+++ b/zshrc
@@ -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"