fzf-tab icon indicating copy to clipboard operation
fzf-tab copied to clipboard

[BUG] `cd` completion bug when a folder start with digit

Open Harrd opened this issue 1 year ago • 1 comments

Describe the bug

  • cd completion add an unexpected digit input when there is a folder start with digit (in this case 3rd)
image image
  • mv 3rd to third(without digit), bug will be fixed image

I can make sure:

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

To Reproduce

  • rename a folder begin with digit and try use cd with tab

Expected behavior

  • no extra digit

Environment:

  • OS: MacOS 14.5
  • zsh version: 4.9

Harrd avatar Aug 11 '24 04:08 Harrd

i have stipped all completion config besides the config in the setup page removed all plugins and the issue is still present brew seems to take completion from somewhere else

xkoldxx avatar Oct 14 '24 22:10 xkoldxx

duplicate of https://github.com/Aloxaf/fzf-tab/issues/264 https://github.com/Aloxaf/fzf-tab/issues/327.

please install zsh with pcre support.

Aloxaf avatar Nov 07 '24 00:11 Aloxaf