Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Color diff of two strings in zsh
function sdiff() {
wdiff <(echo "$1") <(echo "$2") | colordiff
}
@thomet

This comment has been minimized.

Copy link
Owner Author

@thomet thomet commented Jan 15, 2016

You need to install wdiff and colordiff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.