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

Add zsh shell completion function. #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

okapia
Copy link

@okapia okapia commented Oct 3, 2017

This adds a completion function that allows zsh to complete options, commands, packages and categories for pkgin. There may be a better way to get a list of categories.

Ideally this should be installed in /usr/pkg/share/zsh/site-functions so that zsh can find it.

@okapia
Copy link
Author

okapia commented Aug 27, 2021

This has since been included with zsh itself (and seen further improvement since). In general it is preferable for completion functions to be carried by upstream projects. If you're ever minded to do so, I can push whatever is then the latest function as an update here. Or grab it from zsh's git.

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

Successfully merging this pull request may close these issues.

None yet

1 participant