> If you don't want any completions offered, you can simply not press tab. Makes sense. Unfortunately I'm needing to apply the answer to this question to a more complex use case. I'm using a pty (via zpty module) to capture the first completion result to display as a suggestion in zsh-autosuggestions plugin. See the GitHub pull request here: https://github.com/zsh-users/zsh-autosuggestions/pull/401 and the issue that triggered this question here: https://github.com/zsh-users/zsh-autosuggestions/issues/354 I'm wondering if there is a zstyle that I can set to avoid this cursor-moving behavior. I've scanned through the documentation and haven't seen anything, but I feel like I could easily be missing something. Eric Freese On Wed, Apr 10, 2019 at 2:21 PM Mikael Magnusson wrote: > On 4/9/19, Eric Freese wrote: > > Hi all, > > > > When I run `zsh -f`, type `ls "/"`, and hit tab, zsh moves the cursor > back > > to just before the closing quote and offers completions from there. If I > > hit tab again, the buffer is expanded to `ls "/bin/"` (the first > completion > > match). > > > > Is it possible to disable this behavior, such that when I press tab at > the > > end of a quoted string it does not move the cursor back and instead > offers > > no completion? > > If you don't want any completions offered, you can simply not press tab. > > -- > Mikael Magnusson >