diff --git a/_functions b/_functions index 6cbf78c33ca..9673efe8135 100644 --- a/_functions +++ b/_functions @@ -6,7 +6,7 @@ function md() { # Use Git’s colored diff when available hash git &>/dev/null if [ $? -eq 0 ]; then - function diff() { + function gdiff() { git diff --no-index --color-words "$@" } fi