shtab
shtab copied to clipboard
[bug] pathcomplete.py cannot complete file for zsh
❯ aria2c -o pathcomplete https://raw.githubusercontent.com/iterative/shtab/master/examples/pathcomplete.py
❯ chmod +x pathcomplete
❯ ./pathcomplete -s zsh > ~/.local/share/zinit/_pathcomplete
❯ compinit
❯ pathcomplete <TAB>
# nothing
❯ pathcomplete -<TAB>
option
--dir
--help show this help message and exit
-h show this help message and exit
--print-completion print shell completion script
-s print shell completion script
This bug exists for zsh not bash.