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

Fix zsh completion to directly import in fpath #119

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

Conversation

OmeGak
Copy link

@OmeGak OmeGak commented Oct 28, 2018

My problem is that completion/boom.zsh cannot be imported to zsh's fpath, since it doesn't follow the _* name scheme.

Although I could copy&paste&rename the file to my fpath, I would like to be able to import the file directly from GitHub using zplug. In my PR, I'm renaming the boom zsh completion to _boom so that zsh picks it up. Also, moving it to a completion/zsh directory that can be added to fpath. For backwards-compatibility purpose I keep a symlink with the same name in the original location.

The reason I would like this merged is so that I can install the completion script from zplug like this:

zplug "holman/boom", from:github, \
  use:"completion/zsh

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.

1 participant