.zshrc: Add Homebrew's sbin to PATH on macOS

This commit is contained in:
Alan Orth 2018-04-07 16:56:58 +03:00
parent ed07d98882
commit 1bf562eec9
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

2
.zshrc
View File

@ -22,7 +22,7 @@ compinit
# OS-specific things # OS-specific things
if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
# explicitly add Homebrew binary paths just in case Terminal doesn't inherit it from macOS, for example Alacritty. # explicitly add Homebrew binary paths just in case Terminal doesn't inherit it from macOS, for example Alacritty.
PATH=$PATH:/usr/local/bin PATH=$PATH:/usr/local/bin:/usr/local/sbin
# Add brew stuff to MANPATH # Add brew stuff to MANPATH
MANPATH=/usr/local/share/man:/usr/local/opt/postgresql@9.5/share/man:$PATH MANPATH=/usr/local/share/man:/usr/local/opt/postgresql@9.5/share/man:$PATH