Skip to content

[bug] pathcomplete.py cannot complete file for zsh #91

@Freed-Wu

Description

@Freed-Wu
❯ 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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions