donnemartin/gitsome

ZSH autocomplete

Closed this issue ยท 6 comments

Any plans for zsh autocomplete ?

Yes, I'd love for gitsome to be an equal opportunity completer ๐Ÿ‘

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

@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

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

It works well for me. Thanks!

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