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
fzf
command is given the argument--layout=reverse
, thefile-sort
completion needs to be reversed to get the right order:The
fzf
argument--no-sort
seems to be unnecessary.Edit: Reversing the
file-sort
is no longer necessary.You can set
sort
tag to false to let fzf-tab respect to the original order.