aboutsummaryrefslogtreecommitdiffstats
path: root/user-scripts/ndiff
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-20 21:50:56 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-20 21:53:03 +0530
commit20321695ccef71e5727dc5908e31e136cc86bf38 (patch)
treef893ec0614298611d41bf972d54e344ba08f6bb2 /user-scripts/ndiff
parent10c8344fbd91fe24063d1a700f7a4b2a2d35426e (diff)
downloadnnn-20321695ccef71e5727dc5908e31e136cc86bf38.tar.gz
Diff viewer script using vimdiff
Diffstat (limited to 'user-scripts/ndiff')
-rwxr-xr-xuser-scripts/ndiff8
1 files changed, 8 insertions, 0 deletions
diff --git a/user-scripts/ndiff b/user-scripts/ndiff
new file mode 100755
index 0000000..10af0b3
--- /dev/null
+++ b/user-scripts/ndiff
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+
+# Description: File and directory diff using vimdiff
+#
+# Shell: POSIX compliant
+# Author: Arun Prakash Jana
+
+vimdiff $(cat ~/.nnncp | tr '\0' '\n')