.zshrc: Explicitly add /usr/local/bin to PATH

The macOS Terminal.app gets this automatically, but when you run other
terminal emulators like Alacritty it doesn't for some reason.
This commit is contained in:
Alan Orth 2018-01-12 06:08:18 +02:00
parent 341eeb54bd
commit 506fb61f9d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 3 additions and 0 deletions

3
.zshrc
View File

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