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

initial commit zsh completions #74

Merged
merged 4 commits into from
May 3, 2019
Merged

Conversation

drgibbon
Copy link
Contributor

No description provided.

@drgibbon
Copy link
Contributor Author

Any chance to have these merged into a new release at some stage? :)

@sighook
Copy link
Contributor

sighook commented Apr 27, 2019

Needs to review due to this change #52

@drgibbon
Copy link
Contributor Author

Updated for 2.6

@pink-mist
Copy link
Owner

So, these completions ... as I don't use zsh myself, I have no idea where on the filesystem these files are supposed to go for zsh to pick them up?

@drgibbon
Copy link
Contributor Author

Putting the completion files in /usr/share/zsh/site-functions will work.

@drgibbon
Copy link
Contributor Author

It's quite convenient for example to go:

root@slack ~ # sbofind ffm<tab>
completing SBo SlackBuild
ffmpeg2theora      ffmpeg4            ffmpegthumbnailer  ffms2  

I'm guessing this can be done in bash too, but I don't know how to write those yet.

@pink-mist
Copy link
Owner

Putting the completion files in /usr/share/zsh/site-functions will work.

As in /usr/share/zsh/site-functions/_sbocheck etc.?

@pink-mist pink-mist merged commit c707113 into pink-mist:master May 3, 2019
@drgibbon
Copy link
Contributor Author

drgibbon commented May 3, 2019

As in /usr/share/zsh/site-functions/_sbocheck etc.?

Like that yes (they won't get picked up in a subdirectory).

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.

3 participants