Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Plugins 哦,我的Zsh-如何使用GitHub插件?_Plugins_Github_Zsh_Zshrc_Oh My Zsh - Fatal编程技术网

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

Plugins 哦,我的Zsh-如何使用GitHub插件?,plugins,github,zsh,zshrc,oh-my-zsh,Plugins,Github,Zsh,Zshrc,Oh My Zsh,刚刚在.zshrc中启用: plugins=(… guthub …) 在自动完成工作正常后,当我按下tab时,我看到: 但是,如果我尝试运行实际命令,例如 github create test-repo 我要走了 zsh:未找到命令:github 到目前为止,我只使用带有别名的简单插件,我确信我在这里遗漏了一些东西:)github插件: #为了实现这一点,您需要安装github gem # http://github.com/defunkt/github-gem 因此,要使用它,您需要安

刚刚在
.zshrc
中启用:

plugins=(… guthub …)
在自动完成工作正常后,当我按下
tab
时,我看到:

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

github create test-repo
我要走了

zsh:未找到命令:github


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

github插件:

#为了实现这一点,您需要安装github gem
# http://github.com/defunkt/github-gem
因此,要使用它,您需要安装Ruby,然后
gem安装github