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

ZSH autocomplete #2

Closed
johntdyer opened this issue May 9, 2016 · 6 comments
Closed

ZSH autocomplete #2

johntdyer opened this issue May 9, 2016 · 6 comments

Comments

@johntdyer
Copy link

Any plans for zsh autocomplete ?

@donnemartin
Copy link
Owner

Yes, I'd love for gitsome to be an equal opportunity completer 👍

@Karunamon
Copy link
Contributor

Karunamon commented May 9, 2016

Looks like adding this is pretty simple, thanks to a SO question

In short:

  • Download the autocomplete.sh script as mentioned in the existing docs
  • Add the following to your .zshrc:
    autoload bashcompinit
    bashcompinit
    source autocomplete.sh

And then it Just Works :)

screen shot 2016-05-09 at 09 31 38

@donnemartin
Copy link
Owner

@Karunamon awesome! Interested in submitting a pull request? Maybe a section in the README for zsh like the following one for bash would be helpful:

https://github.com/donnemartin/gitsome#enabling-bash-completions

Karunamon added a commit to Karunamon/gitsome that referenced this issue May 9, 2016
donnemartin added a commit that referenced this issue May 10, 2016
Add zsh completion instructions per #2
@donnemartin
Copy link
Owner

@johntdyer do you think the merged PR from @Karunamon is sufficient? Or is there more we might be able to do for zsh users?

@Kmaschta
Copy link

It works well for me. Thanks!

@donnemartin
Copy link
Owner

Thanks everyone for helping out with issue! Sounds like we can close it.

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

No branches or pull requests

4 participants