summaryrefslogtreecommitdiff
path: root/zshfunc/setup-oftc-aliases
diff options
context:
space:
mode:
Diffstat (limited to 'zshfunc/setup-oftc-aliases')
-rw-r--r--zshfunc/setup-oftc-aliases1
1 files changed, 1 insertions, 0 deletions
diff --git a/zshfunc/setup-oftc-aliases b/zshfunc/setup-oftc-aliases
index d7c310e..e1e12a9 100644
--- a/zshfunc/setup-oftc-aliases
+++ b/zshfunc/setup-oftc-aliases
@@ -1,5 +1,6 @@
## vim:ft=zsh:foldmethod=marker
+local name ip
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"