README: macOS: mention .zshrc

This commit is contained in:
Ivan Kozik 2021-01-03 02:29:04 +00:00
parent ce93f62a9a
commit f1e6ae4cd1

View File

@ -154,12 +154,14 @@ On OS X 10.10 - macOS 10.13:
PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig" ~/gs-venv/bin/pip install --no-binary lxml --upgrade git+https://github.com/ArchiveTeam/grab-site PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig" ~/gs-venv/bin/pip install --no-binary lxml --upgrade git+https://github.com/ArchiveTeam/grab-site
``` ```
4. Add this to your `~/.bash_profile` (which may not exist yet) and then restart your shell (e.g. by opening a new terminal tab/window): 4. To put the `grab-site` binaries in your PATH, add this to your `~/.zshrc` (macOS 10.15, 11+) or `~/.bash_profile` (earlier):
``` ```
PATH="$PATH:$HOME/gs-venv/bin" PATH="$PATH:$HOME/gs-venv/bin"
``` ```
and then restart your shell (e.g. by opening a new terminal tab/window)
### Using Nix ### Using Nix
As an alternative to the Homebrew install, if you prefer Nix. As an alternative to the Homebrew install, if you prefer Nix.