#!/bin/sh
# How to use
# Set Alais
# alias svndiff='svn diff --diff-cmd /var/www/user/svndiff.sh'
# Fire Command
# svndiff -rHEAD index.php
DIFF="/usr/bin/vimdiff";
LEFT=${6};
RIGHT=${7};
$DIFF $LEFT $RIGHT
OR
svndiff='svn diff --diff-cmd sdiff'
FYI:
To create permanent alias add it in ~/.bashrc
No comments:
Post a Comment