Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
using completion rules of another application
- X-seq: zsh-users 15525
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: using completion rules of another application
- Date: Tue, 9 Nov 2010 11:38:25 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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