Created
January 15, 2016 11:03
-
-
Save thomet/d345f93b6decbe9ea681 to your computer and use it in GitHub Desktop.
Color diff of two strings in zsh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sdiff() { | |
wdiff <(echo "$1") <(echo "$2") | colordiff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to install
wdiff
andcolordiff