From 910756e86426e90b9e48a52c4f619ae3556f3b55 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 18 Nov 2008 21:15:21 +0100 Subject: Use the hosts array to associate some information with each host --- etc/alias/short | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/alias/short') 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 -- cgit v1.2.3