zsh-users
 help / color / mirror / code / Atom feed
* using completion rules of another application
@ 2010-11-09 10:38 Eric Smith
  2010-11-09  3:51 ` Roy Zuo
  2010-11-09 12:44 ` Jérémie Roquet
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Smith @ 2010-11-09 10:38 UTC (permalink / raw)
  To: Zsh Users

Hi

If I save a command like, 
echo "vim $(which $1)">bin/whichv
(find the pathname of an executable with builtin `which'
and then edit that pathname)

Now at the command line I want to type
$ bin/whichv comm<tab>

I want to have the completions that `which' would have.

How would I do this?
-- 
- Eric Smith


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

end of thread, other threads:[~2010-11-09 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-09 10:38 using completion rules of another application Eric Smith
2010-11-09  3:51 ` Roy Zuo
2010-11-09 12:44 ` Jérémie Roquet

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).