commit 2f8f7e58c76ce7c523b98f88c50d564ad3194f0a
parent bc6ef5ff76c9df9e3cfb38b67bff672a9a915c79
Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 3 Nov 2017 19:43:56 -0400
add /usr/local/sbin to PATH if it exists
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/links/.zshrc b/links/.zshrc
@@ -246,6 +246,7 @@ export EDITOR="vim"
# Environment variables
export PATH=/usr/local/bin:$PATH
+[ -d /usr/local/sbin] && export PATH=/usr/local/sbin:$PATH
export PATH=$HOME/bin:$PATH
if [ -d $HOME/.linuxbrew ]; then
export PATH=$HOME/.linuxbrew/bin:$PATH