zsh-users
 help / color / mirror / code / Atom feed
* Completing from different ssh config file
@ 2006-11-13 17:23 Jean-Rene David
  2006-11-13 19:57 ` Chris Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Jean-Rene David @ 2006-11-13 17:23 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-14 17:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-13 17:23 Completing from different ssh config file Jean-Rene David
2006-11-13 19:57 ` Chris Johnson
2006-11-14 12:00   ` Peter Stephenson
2006-11-14 15:58     ` Jean-Rene David
2006-11-14 17:14       ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).