diff options
-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" |