Commit Graph

6 Commits

Author SHA1 Message Date
Ole Petter
b27d899434
fix(zsh_autocomplete): List files on tab with no completion options
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 <ole.orhagen@northern.tech>
2020-05-03 12:10:39 +02:00
Shengjing Zhu
748fe05362 Fix zsh completion scripts
This fix completion when argument startswith -
And prevent completing a space when no candidates
2020-02-10 01:43:36 +08:00
Felix Wong
e19c344a35
fix zsh autocomplete 2019-10-06 01:58:51 -07:00
Dan Buch
363d9c9a31
Add a hack so that zsh completion only runs for zsh 2016-07-24 17:29:13 -04:00
Andrzej Ressel
ceeebaba04 [PoC] Improve zsh autocompletions 2016-07-21 08:47:59 +02:00
Yushi Nakai
742745ce19 add completion file for zsh 2014-06-19 01:06:23 +09:00