blob: fc316bef8a336089755e5460f00182d1460e594c [file] [log] [blame]
Copybara botca5ce642024-11-08 17:38:08 +01001#!/bin/bash
2# Adapted a little bit for my setup.
3# @source https://github.com/martinvonz/jj/wiki/Vim/e9c31b7b424f2ce69bfd549e18116a57480c48ca
4
5# Shell-escape each path:
6DIR1=$(printf '%q' "$1"); shift
7DIR2=$(printf '%q' "$1"); shift
8
9# The colorscheme is only important on Vim versions older than 9.0
10nvim "$@" -c "DirDiff $DIR1 $DIR2"