Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Throw this into your bash init file for automatic
- # paging of a few svn commands, a la git.
- SVN_PATH=`which svn`
- function svn
- {
- case $1 in
- cat | diff | help | list | log )
- if test -t 1
- then
- $SVN_PATH "$@" | less
- else
- $SVN_PATH "$@"
- fi
- ;;
- * ) $SVN_PATH "$@" ;;
- esac
- }
Add Comment
Please, Sign In to add comment