remove some nocorrects, add some gerrit

This commit is contained in:
Nathan Stilwell 2014-05-21 15:37:03 -04:00
commit 6afc137b31
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,8 @@
alias node='nocorrect node'
alias ack='nocorrect ack' alias ack='nocorrect ack'
alias hg='nocorrect hg' alias hg='nocorrect hg'
alias npm='nocorrect npm'
alias figlet="nocorrect figlet" alias figlet="nocorrect figlet"
alias ksdiff="nocorrect ksdiff" alias ksdiff="nocorrect ksdiff"
alias scala="nocorrect scala" alias scala="nocorrect scala"
alias grunt="nocorrect grunt" alias grunt="nocorrect grunt"
alias idea="nocorrect idea" alias idea="nocorrect idea"
alias rake="noglob rake" alias rake="noglob rake"

View file

@ -24,6 +24,7 @@ function gerrit_patch_usage () {
echo " commit Amend the patchset commit"; echo " commit Amend the patchset commit";
echo " review Submit patchset back to the gerrit for review"; echo " review Submit patchset back to the gerrit for review";
echo " draft Submit patchset back to the gerrit for review as draft"; echo " draft Submit patchset back to the gerrit for review as draft";
echo " rebase Rebase onto master into patchset";
echo echo
} }
@ -52,6 +53,7 @@ function gerrit_patch () {
[ $1 = "commit" ] && git commit --amend; [ $1 = "commit" ] && git commit --amend;
[ $1 = "review" ] && gerrit_review "master"; [ $1 = "review" ] && gerrit_review "master";
[ $1 = "draft" ] && gerrit_draft "master"; [ $1 = "draft" ] && gerrit_draft "master";
[ $1 = "rebase" ] && gerrit_pull "master";
fi fi
} }