From 42f97d1a112e5bce62b174c0391f0107b080baa7 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 24 Oct 2011 23:27:06 -0400 Subject: [PATCH] jsvn: add bash_aliases alias example --- jsvn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jsvn b/jsvn index d281905..b24436c 100755 --- a/jsvn +++ b/jsvn @@ -3,7 +3,12 @@ # Josh's SVN wrapper script # # Recommend putting in path as 'jsvn' or something other than 'svn' and -# making an alias svn='jsvn' +# making an alias svn='jsvn'. For example, this .bash_aliases stanza +# will check if 'jsvn' is in your path and automatically alias 'svn' to +# it if so: +# if [[ "$(which jsvn 2>/dev/null)" != "" ]]; then +# alias svn='jsvn' +# fi # # The script detects if you have colorsvn and colordiff and uses them for # appropriate subcommands if so.