mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Only use dircolors when available.
This commit is contained in:
committed by
David Tomaschik
parent
33d9e53327
commit
eb0d0ebfc1
@@ -9,6 +9,8 @@ export GREP_COLOR='01;31'
|
||||
export GREP_COLORS='mt=01;31:mc=01;31:ms=01;31'
|
||||
|
||||
# Setup LS_COLORS
|
||||
test -f "${HOME}/.dircolors" && eval $(dircolors "${HOME}/.dircolors")
|
||||
whence dircolors >/dev/null 2>&1 && \
|
||||
test -f "${HOME}/.dircolors" && \
|
||||
eval $(dircolors "${HOME}/.dircolors")
|
||||
|
||||
test -f "${HOME}/.profile.local" && . "${HOME}/.profile.local"
|
||||
|
||||
Reference in New Issue
Block a user