Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

using completion rules of another application



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



Messages sorted by: Reverse Date, Date, Thread, Author