diff options
Diffstat (limited to 'zshfunc/setup-oftc-aliases')
-rw-r--r-- | zshfunc/setup-oftc-aliases | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zshfunc/setup-oftc-aliases b/zshfunc/setup-oftc-aliases new file mode 100644 index 0000000..d7c310e --- /dev/null +++ b/zshfunc/setup-oftc-aliases @@ -0,0 +1,9 @@ +## vim:ft=zsh:foldmethod=marker + +cat "$HOME/.oftc-hosts" | while read name ip; do + alias -g $name-ip="$ip" + alias irssi-$name="irssi --home=$HOME/.irssi-MASTER --connect=OFTC-$name" + + alias -g $name-testnet-ip="$ip" + alias irssi-testnet-$name="irssi --home=$HOME/.irssi-MASTER --connect=TESTNET-$name" +done |