Minor README fixes
This commit is contained in:
parent
534bf2c608
commit
eee6f08421
@ -1,6 +1,6 @@
|
|||||||
# github
|
# github
|
||||||
|
|
||||||
This plugin supports working with GitHub the command line. It provides a few things:
|
This plugin supports working with GitHub from the command line. It provides a few things:
|
||||||
|
|
||||||
* Sets up the `hub` wrapper and completions for the `git` command if you have `hub` installed.
|
* Sets up the `hub` wrapper and completions for the `git` command if you have `hub` installed.
|
||||||
* Completion for the `github` Ruby gem.
|
* Completion for the `github` Ruby gem.
|
||||||
@ -37,7 +37,7 @@ See `man hub` for more details.
|
|||||||
|
|
||||||
### Homebrew installation note
|
### Homebrew installation note
|
||||||
|
|
||||||
If you have installed `hub` using Homebrew, its completions may not be on your `$FPATH` if you are using the system `zsh`. Homebrew installs `zsh` completion definitions to `/usr/local/share/zsh/site-functions`, which on `$FPATH` for the Homebrew-installed `zsh`, but not for the system `zsh`. If you want it to work with the system `zsh`, add this to your `~/.zshrc` before it sources `oh-my-zsh.sh`.
|
If you have installed `hub` using Homebrew, its completions may not be on your `$FPATH` if you are using the system `zsh`. Homebrew installs `zsh` completion definitions to `/usr/local/share/zsh/site-functions`, which will be on `$FPATH` for the Homebrew-installed `zsh`, but not for the system `zsh`. If you want it to work with the system `zsh`, add this to your `~/.zshrc` before it sources `oh-my-zsh.sh`.
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
if (( ! ${fpath[(I)/usr/local/share/zsh/site-functions]} )); then
|
if (( ! ${fpath[(I)/usr/local/share/zsh/site-functions]} )); then
|
||||||
|
Loading…
Reference in New Issue
Block a user