Skip to content

Instantly share code, notes, and snippets.

@thomet
Created January 15, 2016 11:03
Color diff of two strings in zsh
function sdiff() {
wdiff <(echo "$1") <(echo "$2") | colordiff
}
@thomet
Copy link
Author

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