.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:
parent
341eeb54bd
commit
506fb61f9d
3
.zshrc
3
.zshrc
@ -21,6 +21,9 @@ 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.
|
||||||
|
PATH=$PATH:/usr/local/bin
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user