ZSH autocomplete
Closed this issue ยท 6 comments
johntdyer commented
Any plans for zsh autocomplete ?
donnemartin commented
Yes, I'd love for gitsome
to be an equal opportunity completer ๐
Karunamon commented
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 :)
donnemartin commented
@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
donnemartin commented
@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 commented
It works well for me. Thanks!
donnemartin commented
Thanks everyone for helping out with issue! Sounds like we can close it.