fzf-tab: file-sort by access/modification time not working
Version: commit adcd317370b1dd3853d861c39fbb1b5bdb9c0568 (current git master)
Setup
autoload -Uz compinit
compinit
antibody bundle Aloxaf/fzf-tab
zstyle ':completion:*' file-sort access
zstyle ':fzf-tab:*' extra-opts '--no-sort'
mkdir a
mkdir c
mkdir b
Problem
Without fzf-tab the output of ls <TAB> is sorted by access time (b c a), with fzf-tab the output is sorted alphabetically (a b c).
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (18 by maintainers)
Thanks. Because the
fzfcommand is given the argument--layout=reverse, thefile-sortcompletion needs to be reversed to get the right order:The
fzfargument--no-sortseems to be unnecessary.Edit: Reversing the
file-sortis no longer necessary.You can set
sorttag to false to let fzf-tab respect to the original order.