Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Completion options are not shown when word starts with a quote #456

Open
4 of 5 tasks
tardypad opened this issue Jul 14, 2024 · 0 comments
Open
4 of 5 tasks
Labels
bug Something isn't working confirmed Bug that's been confirmed to exist

Comments

@tardypad
Copy link

Describe the bug

If the word starts with a single or double quote, and there are multiple completions possible, the options are not getting displayed.

Bisected to acdc372

I can make sure:

  • I am using the latest version of fzf-tab
  • this is the minimal zshrc which can reproduce this bug
  • fzf-tab is loaded after compinit
  • fzf-tab is loaded after plugins which will wrap Tab, like junegunn/fzf/completion.zsh
  • fzf-tab is loaded before zsh-autosuggestions, zsh-syntax-highlighting and fast-syntax-highlighting.

To Reproduce

Assume you are in a directory with the following subdirectories Documents and Downloads.
Documents also have itself some subdirectories.

Current text is cd 'Do or cd "Do, press Tab to complete, no completion option is getting displayed.
It works fine without quotes with cd Do.

If current text is cd 'Doc (no ambiguity), Tab will correctly complete to cd 'Documents/ but a further Tab press won't show any completion option from the subdirectories. If you then type the beginning of a subdirectory (without ambiguity again), it will complete again.

Expected behavior

It should show the completion options.

Environment:

  • OS: Arch Linux
  • zsh version: 5.9
@tardypad tardypad added the bug Something isn't working label Jul 14, 2024
@Aloxaf Aloxaf added the confirmed Bug that's been confirmed to exist label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed Bug that's been confirmed to exist
Projects
None yet
Development

No branches or pull requests

2 participants