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

Re: GLOB_COMPLETE and numbered directories



Bart Schaefer wrote on Thu, Mar 19, 2015 at 18:21:27 -0700:
> On Mar 19, 11:18pm, Daniel Shahaf wrote:
> }
> 
> [RE completeinword]
> 
> } It seems to work if I use <Left-arrow> to move the cursor, but not if
> } I use <M-b> to move the cursor.  Details:
> } 
> } If I type "cat 1a/iota<Left><Left><Left><Left><Left><Left><TAB>", I get
> } "10a/iota" and "11a/iota" offered below the input line (as in the second
> } <TAB> press in your description).
> } 
> } However, if I type "cat 1a/iota<M-b><Left><Left><TAB>", nothing happens,
> } even if I press <TAB> a few more times.
> 
> I can't reproduce this with "zsh -o globcomplete -o completeinword -f"
> (and then compinit).
> 
> On the other hand <M-b> takes me all the way to "1" so I have to type
> "cat 1a/iota<M-b><Right>" to get to the correct place to TAB.  So you
> must have a diferent binding for M-b or a modified $WORDCHARS.

Neither.  Those results are in:

$ zsh -f
% autoload compinit; compinit; setopt globcomplete completeinword

and then entering "cat 1a/iota" and moving left.  I restarted the shell
before each attempt.  Using 'zsh -f' on zsh-5.0.7-348-gf48457a

Maybe it's a Debian patch to some dependency library?



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