mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Added alias to clear .orig files on mercurial plugin
This commit is contained in:
parent
0ab0e67ecf
commit
0525bd64d1
1 changed files with 7 additions and 5 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue