Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: Re: General comments on completion
- X-seq: zsh-workers 7041
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: PATCH: Re: General comments on completion
- Date: Thu, 8 Jul 1999 17:20:32 +0400
- Importance: Normal
- In-reply-to: <199907080904.LAA11932@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Maybe we should use a different config key for
> this -- if you are using _oldlist and find some strange behavior, tell
> me.
>
The following happens with _oldlist and the completion keys:
bor@itsrm2:~/test/match%> compconf -L
compconf correct_accept='2n'
compconf match_original='yes'
compconf completer='_oldlist:_complete:_match'
compconf dumpfile='/home/bor/.zcompdump'
compconf oldlist_list='_match'
compconf path_cursor='yes'
compconf match_insert='unambig'
compconf correct_prompt='correct to:'
bor@itsrm2:~/test/match%> ls /h/b/t/m/a?a/<12->TAB
bor@itsrm2:~/test/match%> ls /home/bor/test/match/a/\<12-\>
axa/ aya/ ^ cursor here; after TAB
bor@itsrm2:~/test/match%> l /home/bor/test/match/axa/\<12-\>CURSOR HERE
axa/ aya/ ^
It happens if _oldlist is used *and* cursor is initially at the end of word. If
I move cursor inside of word, it works as expected:
bor@itsrm2:~/test/match%> ls /h/b/t/m/a?a/<12->TAB
^ cursor here
bor@itsrm2:~/test/match%> ls /home/bor/test/match/a/\<12-\>
axa/ aya/ ^ cursor here
bor@itsrm2:~/test/match%> ls /home/bor/test/match/axa/\<12-\>
axa/ aya/ ^ cursor here
I have only setopt nolistambiguous explicitly set. It remains from old zshrc.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author