Guest User

Untitled

a guest
Apr 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # Throw this into your bash init file for automatic
  2. # paging of a few svn commands, a la git.
  3.  
  4. SVN_PATH=`which svn`
  5. function svn
  6. {
  7. case $1 in
  8. cat | diff | help | list | log )
  9. if test -t 1
  10. then
  11. $SVN_PATH "$@" | less
  12. else
  13. $SVN_PATH "$@"
  14. fi
  15. ;;
  16. * ) $SVN_PATH "$@" ;;
  17. esac
  18. }
Add Comment
Please, Sign In to add comment