Index: zshrc ================================================================== --- zshrc +++ zshrc @@ -243,11 +243,11 @@ if ! __has_command colordiff; then colordiff() { local red=$(printf "\033[31m") local green=$(printf "\033[32m") local reset=$(printf "\033[0m") - sed "s/^+.*$/$green&$reset/" | sed "s/^-.*$/$red&$reset/" + sed -e "s/^+.*$/$green&$reset/" -e "s/^-.*$/$red&$reset/" } fi if __has_command fossil; then alias fl="fossil"