Remove diff formatting (keep only relevant line) + clarify to append the line after initialization

This commit is contained in:
David Bailey 2021-01-20 15:30:03 +00:00 committed by GitHub
parent a04b4890a9
commit 39cdf234a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,11 +43,10 @@ if type brew &>/dev/null; then
fi fi
``` ```
This must be done before `compinit` is called. Note that if you are using Oh My Zsh, it will call `compinit` for you, so this must be done before you call `oh-my-zsh.sh`. This may be done by adding the following line to your `~/.zprofile` file, instead of modifying your `~/.zshrc` as above: This must be done before `compinit` is called. Note that if you are using Oh My Zsh, it will call `compinit` for you, so this must be done before you call `oh-my-zsh.sh`. This may be done by appending the following line to your `~/.zprofile` after Homebrew's initialization, instead of modifying your `~/.zshrc` as above:
```diff ```sh
eval $(/opt/homebrew/bin/brew shellenv) FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
+ FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
``` ```
You may also need to forcibly rebuild `zcompdump`: You may also need to forcibly rebuild `zcompdump`: