Skip to content

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

@serpro69

Description

@serpro69

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:

  • 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

  • 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)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions