aboutsummaryrefslogtreecommitdiffstats
path: root/_zshrc.local
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-27 16:10:41 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-27 16:10:41 +0800
commitae3aa8ecfa10c6e1b044067e9751d9454d8544df (patch)
tree41a000fd5405a3b3409826e2551dfd0e617913c8 /_zshrc.local
parent68ce5e65b657a4cdaa89458b12e56cc1a5ee5899 (diff)
downloaddotfiles-ae3aa8ecfa10c6e1b044067e9751d9454d8544df.tar.bz2
Update (ZSH) shell configuration files.
Diffstat (limited to '_zshrc.local')
-rw-r--r--_zshrc.local8
1 files changed, 5 insertions, 3 deletions
diff --git a/_zshrc.local b/_zshrc.local
index 9e5d50d..6459c22 100644
--- a/_zshrc.local
+++ b/_zshrc.local
@@ -14,14 +14,16 @@ export LC_COLLATE="C"
if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
fi
+if [ -d "$HOME/.local/bin" ]; then
+ export PATH="$HOME/.local/bin:$PATH"
+fi
# admin
if groups | grep -qE '\b(wheel|adm|sudo)\b'; then
export PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
fi
-# GREP_OPTIONS deprecated
-unset GREP_OPTIONS
-alias grep='grep --color=auto'
+# ls colors
+[ -x /usr/bin/dircolors ] && eval `dircolors -b`
### environments }}}
### vi mode {{{