Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
2.98k stars 90 forks source link

[Q] How to sort directory first on completion? #427

Closed adetabrani closed 2 months ago

adetabrani commented 3 months ago

Describe your question

1712501918_Apr07_21:58:38

Is it possible to sort directories first then followed by files? I tried adding the following configuration to my .zshrc, but it doesn't seem to work

zstyle ':completion:*' list-dirs-first true

Aloxaf commented 2 months ago

try

zstyle ":completion:*" sort false
zstyle ':completion:*' list-dirs-first true
adetabrani commented 2 months ago

worked, thanks