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

Re: GLOB_COMPLETE and numbered directories



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.



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