Open Freed-Wu opened 3 years ago
I seem to encounter the same error when using fzf-tab
to complete cdr
:
❯ cdr <tab>
>
29/29 (0)
> 10 -- ~/xxx/xxxxxxxxxxxxxxxx/xxxxxx
11 -- ~/xxxx/xxxxxxx
12 -- ~/xxx/xxxxxxxxxxxxxxxx
13 -- ~/xxx/xxxxxxx/xxxxx
14 -- ~/xxxxxx
15 -- /xxx/xxxxx
16 -- ~/xxx/xxxxx/xxxxxxxxxxxx
17 -- /xxx
18 -- ~/xxx/xxxxx/xxx
19 -- ~/xxx/xxxxxx/xxxxxxxxxxxxxxxxxxxxx
1 -- ~/xxxxx
20 -- ~/xxx/xxxx/xxxxxxxxxxxxxxxxxxxxxxx
21 -- ~/xxx/xxxx/xxxxxxxxxxxxxxxxxxxxxxxxxx
22 -- ~/xxxxxx/xxxx
23 -- ~/xxxxxxxxx/xxxxxx/xxxxxxxxxxxxxxxxxxx
24 -- ~/xxx/xxxxxxxxxxxxxxxxxxxxxxxx
25 -- ~/xxx/xxxxxxxxxxxxxxxx/xxxxxx
26 -- ~/xxx/xxxx/xxxxxxxxxxxxxxx/xxxxxxxxxxxxxxx
27 -- ~/xxx/xxxxxx/xxxxxxxxxxxxxxxxxxxxx
28 -- ~/xxxx
29 -- ~/xxx/xxxx/xxxxx
2 -- ~/xxxx
3 -- ~/xxx/xxxxxxxxxxxxxxxx
4 -- ~/xxx/xxxxxxxxxxxxxxxx/xxx
5 -- ~/xxx/xxxxxxxxxxxxxxxxxxxxxxxx/xxxxxx
6 -- ~/xxxxxxx
7 -- ~/xxx/xxxxxxxxxxxxxxxxxxxxxxxx
8 -- ~/xxxx
9 -- ~/xxx/xxxx
Otherwise, fzf-tab
has been an absolute game-changer, thank you!
Describe the bug
if user
setopt numericglobsort
, the original completions will be sorted by numberhowever, the fzf-tab still sort by dictionary order
maybe it is a feature? thanks!
I can make sure:
compinit