summaryrefslogtreecommitdiff
path: root/etc/alias/short
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-11-18 21:15:21 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-11-18 21:15:21 +0100
commit910756e86426e90b9e48a52c4f619ae3556f3b55 (patch)
tree8154f0a9ee3adeaa2458b794bb528cf79bd6eeb5 /etc/alias/short
parent67e50a419b7bc0f694e11b95c82a083608299d67 (diff)
Use the hosts array to associate some information with each host
Diffstat (limited to 'etc/alias/short')
-rw-r--r--etc/alias/short2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/alias/short b/etc/alias/short
index 2c1431e..e2c42e8 100644
--- a/etc/alias/short
+++ b/etc/alias/short
@@ -73,7 +73,7 @@ salias s2d='s2disk'
salias s2r='s2ram -f'
## SSH Hosts
-for host in $hosts; {
+for host in ${(k)hosts}; {
alias $host="ssh $host"
}
unset host