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

Re: using completion rules of another application



Hi,

Why not use this instead?

    vim =comm<tab>

Roy

On Tue, Nov 09, 2010 at 11:38:25AM +0100, Eric Smith wrote:
> 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