diff options
-rw-r--r-- | bashrc | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -51,15 +51,25 @@ alias build='b2 -j$CORES $TARGET' alias autobuild="build ; while inotifywait -qr . --exclude '/bin/|\.sw.|/\.git/' -e modify ; do clear ; printf '\e[3J' ; build ; done" # CVS export CVSROOT=":pserver:danielg@hawking.howden.press.net:/usr/local/src/CVS_SOURCE_TREE" -alias cvsd='diffWith "cvs diff -wubB"' +cvsd() { + diffWith "cvs diff -wubB $@" +} # SVN -alias svnd='diffWith "svn diff --force --no-diff-deleted -x -b"' +svnd() { + diffWith "svn diff --force --no-diff-deleted -x -b $@" +} # Git -alias gitd='diffWith "git diff --no-prefix --relative -b -M"' -alias gitdc='diffWith "git diff --cached --no-prefix --relative -b -M"' +gitd() { + diffWith "git diff --no-prefix --relative -b -M $@" +} +gitdc() { + diffWith "git diff --cached --no-prefix --relative -b -M $@" +} alias gst='git status' # Hg -alias hgd='diffWith "hg diff -p -b"' +hgd() { + diffWith "hg diff -p -b $@" +} # Java PATH=$JAVA_HOME/bin:$PATH export CATALINA_HOME="/usr/share/tomcat-5.5/" |