I would like to use Macvim's diff mode for file comparison in the SVN application called "Versions" for OS X. How would I write a script that launches Macvim in diff mode for such file comparisons?
I currently use the following to do SVN diffs from Command line, but nothing I try seems to work for creating a script for use with Versions:
In my ~/.bash_profile:
alias svn_diff='svn diff --diff-cmd ~/bin/svndiff'
A script I have in my ~/bin directory:
cat ~/bin/svndiff
\#!/bin/bash
shift 5
mvim -d "$@"
\#!/bin/bashdoesn't seem right :) – slhck Jan 27 at 12:10