aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/SendTo/.group/diff5
1 files changed, 5 insertions, 0 deletions
diff --git a/home/john/.config/rox.sourceforge.net/SendTo/.group/diff b/home/john/.config/rox.sourceforge.net/SendTo/.group/diff
new file mode 100755
index 0000000..b780c24
--- /dev/null
+++ b/home/john/.config/rox.sourceforge.net/SendTo/.group/diff
@@ -0,0 +1,5 @@
+#!/bin/sh
+d="$(dirname "$1")/"
+cd "$d"
+t=diff; for x in "$@"; do t=$t" ${x#$d}"; done
+exec xterm -title "$t" -e with-shell diff -u "$@"