From 506fb61f9d5776a92647f6ac324b8ddd51fc1c6d Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 12 Jan 2018 06:08:18 +0200 Subject: [PATCH] .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. --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index e48636c..2fc219f 100644 --- a/.zshrc +++ b/.zshrc @@ -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