Skip to content
Permalink
Browse files

Added new ddiff function to diff 2 directories and display in vim

  • Loading branch information...
eko committed Apr 3, 2019
1 parent 6f19648 commit 565c86a85ba0f987eff0c5f7181be7a68d7a15ec
Showing with 5 additions and 0 deletions.
  1. +5 −0 .functions
@@ -411,3 +411,8 @@ function kdiff {
function swap() {
mv $1 $1.tmp && mv $2 $1 && mv $1.tmp $2;
}

# Usage: ddiff <source> <dest>
function ddiff() {
diff $1 $2 | vim -R -
}

0 comments on commit 565c86a

Please sign in to comment.
You can’t perform that action at this time.