哦,我的Zsh - 如何使用GitHub插件?

时间:2015-05-27 09:51:46

标签: plugins github zsh zshrc oh-my-zsh

.zshrc中启用github plugin

plugins=(… guthub …)

此自动填充功能正常后,当我按tab时,我看到了:

enter image description here

但是,如果,我尝试运行实际命令,例如

github create test-repo

我正在

  

zsh:找不到命令:github

到目前为止,我只使用带有别名的简单插件,我确信我在这里遗漏了一些内容:)

1 个答案:

答案 0 :(得分:3)

github插件contains this comment

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

因此,要使用它,您需要安装Ruby,然后gem install github

相关问题