Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Freed-Wu opened this issue Aug 27, 2022 · 0 comments · Fixed by #93
Closed

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

Freed-Wu opened this issue Aug 27, 2022 · 0 comments · Fixed by #93
Assignees
Labels

Comments

@Freed-Wu
Copy link
Contributor

Freed-Wu commented Aug 27, 2022

❯ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants