diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-12-01 17:52:51 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-12-01 17:52:51 +0100 |
commit | 4ee356cdc5e566fbe34468e1bc5b222506e4f61c (patch) | |
tree | ff5d136a4d93f6aa788c1c3412481a318912a611 | |
parent | 24028efb55a7f5f07a5cf772eb84f34b809d46a6 (diff) |
short aliases: Ask check_com before aliasing ssh hosts
-rw-r--r-- | etc/alias/short | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/alias/short b/etc/alias/short index e2c42e8..f68eb8b 100644 --- a/etc/alias/short +++ b/etc/alias/short @@ -74,6 +74,6 @@ salias s2r='s2ram -f' ## SSH Hosts for host in ${(k)hosts}; { - alias $host="ssh $host" + check_com $host || alias $host="ssh $host" } unset host |