-
Notifications
You must be signed in to change notification settings - Fork 810
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
zsh autocompletion working, but not for cheat file names #632
Comments
OK, so looking at the completion script, there is a I'm not much of a shell scripter so I'm not quire sure how get the $state variable to reflect the correct context. Maybe the bash script will offer some clues. I'll take a look. |
OK, I just made the default value for state to be 'full'. Seems to work.
Then it get overridden by the _arguments portion of the code. If this is the correct way of fixing this, just let me know and I'll submit a patch. |
Had the same issue, your fix worked, thanks ! |
Same problem here. The fix is working but a real fix would be awesome. Thanks for your work :) |
I have the same problem with autocomplete. We would appreciate a fix. Thanks for this work!! |
the in this commit:018bce7 but his commit message is |
Thanks for submitting a bug report. Please provide the following information:
A description of the problem
I have zsh (with ohmyzh). Completions are working for cheat arguments but they are not working for the names of the cheatsheet files.
Example:
cheat tm<tab>
does nothing even though atmux
cheat sheet exists in my~/.config/cheat/cheatsheets/personal
directorycheat -<tab>
generates a list of acceptable arguments for the cheat commandcheat version info
4.2.2
The text was updated successfully, but these errors were encountered: