summaryrefslogtreecommitdiff
path: root/zshfunc/setup-oftc-aliases
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2009-05-08 19:25:04 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2009-05-08 19:25:04 +0000
commit762310dfc41827bd19b07fce10a78e2e0f3afeb7 (patch)
tree4b429f05db6ee7f072e4000d7602e86f55ded35c /zshfunc/setup-oftc-aliases
parentc28d5941c18751112421ac6acb50b1bd81d784f3 (diff)
A couple locals
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@394 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
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"