Use brew to determine prefix
https://docs.brew.sh/FAQ#why-should-i-install-homebrew-in-the-default-location
This commit is contained in:
parent
2e28e23261
commit
19b887667a
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ Install
|
||||||
Using the [Homebrew]( https://brew.sh ) package manager:
|
Using the [Homebrew]( https://brew.sh ) package manager:
|
||||||
|
|
||||||
brew install zsh-history-substring-search
|
brew install zsh-history-substring-search
|
||||||
echo 'source /usr/local/share/zsh-history-substring-search/zsh-history-substring-search.zsh' >> ~/.zshrc
|
echo 'source $(brew --prefix)/share/zsh-history-substring-search/zsh-history-substring-search.zsh' >> ~/.zshrc
|
||||||
|
|
||||||
Using [Oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh):
|
Using [Oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue