Use brew to determine prefix

https://docs.brew.sh/FAQ#why-should-i-install-homebrew-in-the-default-location
This commit is contained in:
Andy Richardson 2022-12-04 13:17:26 +00:00 committed by Koston-0xDEADBEEF
parent 2e28e23261
commit 19b887667a

View file

@ -23,7 +23,7 @@ Install
Using the [Homebrew]( https://brew.sh ) package manager:
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):