From: Sergey Matveev <stargrave@stargrave.org>
Date: Sun, 22 Dec 2019 15:19:33 +0000 (+0300)
Subject: Prefer /usr/local executables
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=4627246037d15795c78ca66a0618278fcc1897dc;p=dotfiles.git

Prefer /usr/local executables
---

diff --git a/zsh/.zshenv b/zsh/.zshenv
index 2f9509b..97de1bb 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -55,7 +55,7 @@ export XDG_RUNTIME_DIR=/tmp/stargrave-xdg
 
 # Paths {{{
 export CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
-export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
+export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
 export PATH=$HOME/bin:$PATH
 
 export MANPATH=/usr/local/share/man:/usr/local/man:/usr/share/man
diff --git a/zsh/.zshrc b/zsh/.zshrc
index ae91d47..adc241e 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -115,7 +115,6 @@ g() {
         less --RAW-CONTROL-CHARS
 }
 alias -g G="| $GREP --color"
-alias grep="$GREP"
 alias gg="git grep "
 # }}}