fix(zsh_autocomplete): List files on tab with no completion options #1130
What type of PR is this?
What this PR does / why we need it:
Aligns zsh auto-completion functionality with the bash auto-completion
Which issue(s) this PR fixes:
Special notes for your reviewer:
New functionality: https://asciinema.org/a/EAYRIEVGTGNSS2gCGwSJ4Zw1i
Old functionality: https://asciinema.org/a/BfOZz4BHUGwjXMFptbmDHZocH
This will simply list the files in the current directory if there are no auto-completion options available. With this change, the zsh auto-completion will align with the functionality in the bash auto-completion file provided. New functionality: https://asciinema.org/a/EAYRIEVGTGNSS2gCGwSJ4Zw1i Old functionality: https://asciinema.org/a/BfOZz4BHUGwjXMFptbmDHZocH Signed-off-by: Ole Petter <email@example.com>
Yup, some tests for the auto-completion features (both bash and zsh) would have been nice. But I didn't see any in place as of now. I wonder how much effort it would be to bootstrap?