2009-01-26 19:21:29 +00:00
|
|
|
# you can also create a ~/.cvsrc where you keep your favorite
|
|
|
|
# cvs flags. we recommend to put 'cvs -z9' in there
|
|
|
|
|
2009-01-26 20:12:53 +00:00
|
|
|
alias difvu 'vim -R "+set syntax=diff"'
|
|
|
|
|
2009-01-26 19:21:29 +00:00
|
|
|
alias cup cvs -q update -dP
|
2009-01-26 20:12:53 +00:00
|
|
|
alias sup svn update
|
|
|
|
alias gup '(git fetch origin && git diff master..origin/master && git merge origin) |& difvu -'
|
2009-01-26 19:21:29 +00:00
|
|
|
|
|
|
|
alias ci cvs ci
|
|
|
|
alias ci+ cvs ci -m +
|
|
|
|
alias co cvs co
|
|
|
|
|
|
|
|
# recursive cvsrm is a shell script
|
|
|
|
#alias crm 'rm -rf \!*;cvs rm \!*'
|
|
|
|
|
|
|
|
alias cmd 'mkdir \!*;cvs add \!*;cd \!*'
|
|
|
|
alias cmf '$EDITOR \!*;cvs add \!*'
|
|
|
|
alias cvsaddr 'cvs add `find . -name "*CVS*" -prune -o -print`'
|
|
|
|
# how to add a binary file.. cause i never remember!!
|
|
|
|
alias cvsaddbin 'cvs add -kb'
|
|
|
|
|
2009-01-26 20:12:53 +00:00
|
|
|
alias cblame 'cvs annotate \!*|& $PAGER'
|
|
|
|
|
|
|
|
alias cdiff 'cvs diff -bpu8r'
|
|
|
|
alias gdiff 'git-diff -b'
|
|
|
|
alias cdifr 'cdiff \!* |& egrep -v " (Diffing |no longer exists)"|& difvu -'
|
|
|
|
alias sdifr 'svn diff -r \!* |& difvu -'
|
|
|
|
alias gdifr 'gdiff \!* |& difvu -'
|
|
|
|
alias cdif 'cdifr HEAD'
|
|
|
|
alias sdif 'sdifr HEAD'
|
|
|
|
alias gdif 'gdifr HEAD'
|
2009-01-26 19:21:29 +00:00
|
|
|
|
|
|
|
alias Ci '(cd $PSYCEDHOME;ci)'
|
|
|
|
alias Cup '(cd $PSYCEDHOME;cup)'
|
|
|
|
alias Cdif '(cd $PSYCEDHOME;cdif)'
|
|
|
|
|
2009-01-26 20:12:53 +00:00
|
|
|
alias ctoc '(cd $CVSHOME;cvs diff -bur HEAD CHANGESTODO|& difvu -'
|
|
|
|
alias ctodo '(cd $PSYCEDHOME;cvs update CHANGESTODO;$EDITOR CHANGESTODO;cvs ci -m + CHANGESTODO)'
|
2009-01-26 19:21:29 +00:00
|
|
|
|