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

RE: ISUFFIX



Sven Wischnowsky wrote:
> Ebourne, Martin wrote:
> > 1) If I am completing variable assignments on the command line, eg:
> > MODULE=value
> > and I complete after the 'E', on the '=', it does nothing. Is there
> Have you tried the expand-or-complete-prefix widget or the _prefix
> completer?

Well I have the _prefix completer configured (as below).

If I complete after the E as in
	MODULE=value
it does nothing. But if I complete after the E as in
	MODULEvalue
it goes to
	MODULE_PATH value

> Try `compstate[to_end]='.

That fixes my second problem.

Cheers,

Martin.


completer
        :completion:all-matches:* _all_matches
        :completion:* _oldlist _complete _ignored _match _approximate _prefix
matcher-list
        :completion:* '' 'm:{a-zA-Z}={A-Za-z}'
list-packed
        :completion:*:default true
group-name
        :completion:* ''
last-prompt
        :completion:*:default true
menu
        :completion:*:default select
list-separator
        :completion:* :
glob
        :completion:*:expand:* false
substitute
        :completion:*:expand:* true
tag-order
        :completion:*:complete:cd:* local-directories
        :completion:*:complete:-command-:* '! path-directories'
        :completion:*:match:sql:* '! table-aliases'
        :completion:*:expand:* all-expansions expansions original
        :completion:*:*:-subscript-:* indexes parameters
        :completion:*:approximate*:* corrections original
max-errors
(eval)  :completion:*:approximate*:* 'reply=( $(( ($#PREFIX+$#SUFFIX)/4 + 1 )) numeric )'
add-space
        :completion:*:prefix:* true
match-original
        :completion:*:match:* only
remove-all-dups
        :completion:*:history:* true
insert-unambiguous
        :completion::match:* pattern
        :completion::approximate*:* always
list
        :completion:history-words:* false
ignored-patterns
        :completion:*:*:*:functions '_*'
old-matches
        :completion:all-matches:* only

This message is for the named person's use only. It may contain sensitive and private proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.
Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as  preliminary only and subject to our formal written confirmation.




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