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

[BUG] preview directory content always shows 'Loading...' on MacOS

Open serpro69 opened this issue 1 year ago • 0 comments

Describe the bug

See screenshots below. I have the same config on Linux and Mac, and it works fine on Linux (see expected behavior screen), but does not on a Mac

I can make sure:

  • [x] I am using the latest version of fzf-tab
  • [ ] 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
  • [ ] fzf-tab is loaded before zsh-autosuggestions, zsh-syntax-highlighting and fast-syntax-highlighting.

To Reproduce

  • cd <TAB>

Expected behavior

image

Screenshots

image

Environment:

  • OS: Darwin razorback.local 24.2.0 Darwin Kernel Version 24.2.0
  • zsh version: zsh 5.9 (arm64-apple-darwin24.0)

Minimal zshrc

I have the following line that enables preview on cd completions:

zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza --icons=always --width=1 --color=always $realpath'

Plus the following that enables tmux popup (though the behavior is the same with or w/o the tmux popup)

zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup
zstyle ':fzf-tab:*' popup-min-size 80 16

Plugins:

CONFIG_ZSH_PLUGINS="(colored-man-pages colorize copybuffer dircycle docker-compose dotenv extract fast-syntax-highlighting fnm gcloud gh git git-extras github gitignore git-prompt grc history-substring-search kubectl mise npm rust sublime sudo terraform web-search yarn z zsh-autosuggestions zsh-vi-mode spaceship-tfb-section spaceship-plb-section fzf-tab ssh-agent)"

serpro69 avatar Dec 12 '24 16:12 serpro69