zsh-snap icon indicating copy to clipboard operation
zsh-snap copied to clipboard

z foo<SPACE><TAB> like usage for zoxide interactive completions with fzf not works

Open siuyutpang opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug

I have set zoxide and fzf in .zshrc file with znap, following is config

znap eval fzf 'fzf --zsh'
znap eval zoxide 'zoxide init zsh'

but interactive completion not show as expected, when I get rid of znap settings, use regular settings

eval "$(fzf --zsh)"
eval "$(zoxide init zsh)"

it works, so what's the problem with znap

Steps To Reproduce

presume you had already entry ~/.config/zsh and ~/.cache/zsh directory, now u use following command to goto one of them

z zsh <space><TAB>

Expected behavior

An interactive fzf window will show possible selections.

2024-07-05_18-10_1

Observed behavior

only show current file and directory completion.

2024-07-05_18-29

Environment:

  • OS: Arch Linux
  • Terminal: Kitty
  • Zsh version: 5.9
  • Repo version: * main 909e384 Fix typo in Readme

siuyutpang avatar Jul 05 '24 10:07 siuyutpang

I had the same issue and switched to regular eval, I think the maintainer is working on a new caching method: https://github.com/marlonrichert/zsh-snap/issues/261

dannysteenman avatar Jul 15 '24 14:07 dannysteenman