Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: retrieving the results of last command?
- X-seq: zsh-users 8899
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: retrieving the results of last command?
- Date: Mon, 23 May 2005 17:45:01 +0200
- In-reply-to: <dc507f4a0505222345642359c0@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050520121834.GA32499@xxxxxxxxxx> <1050520144942.ZM7191@xxxxxxxxxxxxxxxxxxxxxxx> <dc507f4a0505222345642359c0@xxxxxxxxxxxxxx>
Felix Rosencrantz wrote:
> Is there a way to configure completion, so that it will first attempt
> to only complete items that it would normally complete but are only in
> the keep list of the keeper function, and if there is nothing there
> complete as it normally would.
You could try doing something with ignored-patterns and zstyle -e:
Does keeper just keep it's words in an array? If so something like
'(${(j.|.)~keptwords})' may be a start. You may also need to remove
$IPREFIX and $ISUFFIX from the beginning and end of each word in the
array. You would also have problems if you want to use other
ignore-patterns styles.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author