Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion function with compadd
- X-seq: zsh-users 8404
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: completion function with compadd
- Date: Thu, 20 Jan 2005 19:20:25 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi zsh-list
I use #compdef and compadd in a site_function to do completion
based on words in a file. But actually the completion is on
the #lines# in the file you give as an argument to compadd.
Is it possible to complete on words within that file.
The example I am looking for is my mutt aliases
file where I want to go:
mutt a<tab>
and get
mutt alice@xxxxxxxxxxxxxxxx
and not
mutt alias aw "Alice in Wonderland" <alice@xxxxxxxxxxxxxxxx>
thanks guys
--
Eric Smith
Messages sorted by:
Reverse Date,
Date,
Thread,
Author