projects
/
~madcoder
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support MacOS
[~madcoder/dotfiles.git]
/
config
/
zsh
/
10_zshopts
diff --git
a/config/zsh/10_zshopts
b/config/zsh/10_zshopts
index
a367d09
..
1314ea5
100644
(file)
--- a/
config/zsh/10_zshopts
+++ b/
config/zsh/10_zshopts
@@
-1,6
+1,6
@@
#! /bin/zsh
-if
test -x =dircolors
; then
+if
which dircolors &> /dev/null
; then
eval "`dircolors`"
export LS_COLORS="*.ogm=01;35:${LS_COLORS}"
export ZLS_COLORS=$LS_COLORS