Added alias to clear .orig files on mercurial plugin

This commit is contained in:
tinogomes 2012-01-28 14:51:09 -02:00
commit 0525bd64d1

View file

@ -1,3 +1,8 @@
function hg_current_branch() {
if [ -d .hg ]; then
echo hg:$(hg branch)
fi
}
# Mercurial
alias hgc='hg commit'
@ -13,8 +18,5 @@ alias hgs='hg status'
# this is the 'git commit --amend' equivalent
alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'
function hg_current_branch() {
if [ -d .hg ]; then
echo hg:$(hg branch)
fi
}
# Remove all .orig files
alias hgclear='find . -name "*.orig" -delete'