Skip to content

Commit

Permalink
test: force list
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloxaf committed Feb 24, 2024
1 parent 9c02598 commit 0949035
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/fzftab.ztst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@
0:unambiguous prefix
>line: {: dir}{}

comptesteval '_tst() { compadd /home /usr /lib; compstate[insert]=menu }'
comptest $'tst \t'
0:force list
>line: {tst /home }{}
>QUERY:{/}
>C0:{/home}
>C0:{/lib}
>C0:{/usr}

comptesteval 'zstyle ":completion:*" menu true'
comptest $': d\t'
0:prefix
Expand Down

0 comments on commit 0949035

Please sign in to comment.