Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completing from different ssh config file
- X-seq: zsh-users 10973
- From: Jean-Rene David <jrdavid@xxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Completing from different ssh config file
- Date: Mon, 13 Nov 2006 12:23:27 -0500
- Mail-followup-to: zsh-users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I use the following function to log in to certain hosts:
foo() {
ssh -i ~/.ssh/id_rsa.foo \
-F ~/.ssh/config.foo \
"$*"
}
How would I configure the completion system so
that the hostname is completed from
~/.ssh/config.foo when I use this function?
Right now the hostname isn't completed at all
because the context isn't recognized as a call to
ssh.
Thanks,
--
JR
Messages sorted by:
Reverse Date,
Date,
Thread,
Author