Unverified Commit 62648d71 authored by Monson Shao's avatar Monson Shao Committed by GitHub
Browse files

lib: enable diff color (#8807)

parent d24a9dbc
......@@ -39,6 +39,11 @@ if [[ "$DISABLE_LS_COLORS" != "true" ]]; then
fi
fi
# enable diff color if possible.
if diff --color . . &>/dev/null; then
alias diff='diff --color'
fi
setopt auto_cd
setopt multios
setopt prompt_subst
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment