Commit d0d01c0b authored by Marc Cornellà's avatar Marc Cornellà
Browse files

lib: prefix diff call with command to bypass diff aliases

See https://github.com/ohmyzsh/ohmyzsh/pull/8807#issuecomment-652697704
parent fd9781b4
......@@ -40,7 +40,7 @@ if [[ "$DISABLE_LS_COLORS" != "true" ]]; then
fi
# enable diff color if possible.
if diff --color . . &>/dev/null; then
if command diff --color . . &>/dev/null; then
alias diff='diff --color'
fi
......
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