add the functions needed for some keybindings
[zsh.git] / .zsh / functions / setup-oftc-aliases
1 ## vim:ft=zsh:foldmethod=marker
2
3 local name ip
4 cat "$HOME/.oftc-hosts" | while read name ip; do
5 alias -g $name-ip="$ip"
6 alias irssi-$name="irssi --home=$HOME/.irssi-MASTER --connect=OFTC-$name"
7
8 alias -g $name-testnet-ip="$ip"
9 alias irssi-testnet-$name="irssi --home=$HOME/.irssi-MASTER --connect=TESTNET-$name"
10 done