fix(theme-and-appearance): avoid infinite recursion

parent a24e9190
......@@ -47,7 +47,7 @@ fi
# enable diff color if possible.
if command diff --color /dev/null /dev/null &>/dev/null; then
function color-diff {
diff --color $@
command diff --color $@
}
alias diff="color-diff"
compdef _diff color-diff # compdef is already loaded by this point
......
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