Search code examples
pluginsgithubzshzshrcoh-my-zsh

Oh My Zsh - how to use GitHub plugin?


Just enabled github plugin in .zshrc:

plugins=(… guthub …)

After this autocomplete works fine, when I press tab I see:

enter image description here

But then, if, I try to run actual command, e.g.

github create test-repo

I'm getting

zsh: command not found: github

Until now I used simple plugins only with aliases and I'm sure that I'm missing something here :)


Solution

  • The github plugin contains this comment:

    # in order to make this work, you will need to have the github gem installed
    # http://github.com/defunkt/github-gem
    

    So to use it you'll need to install Ruby, then gem install github.