mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Mercurial: add aliases for 'incoming' and 'outgoing' commands
This commit is contained in:
parent
0ab0e67ecf
commit
6dd286bba3
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ alias hgco='hg checkout'
|
||||||
alias hgd='hg diff'
|
alias hgd='hg diff'
|
||||||
alias hged='hg diffmerge'
|
alias hged='hg diffmerge'
|
||||||
# pull and update
|
# pull and update
|
||||||
|
alias hgi='hg incoming'
|
||||||
alias hgl='hg pull -u'
|
alias hgl='hg pull -u'
|
||||||
|
alias hgo='hg outgoing'
|
||||||
alias hgp='hg push'
|
alias hgp='hg push'
|
||||||
alias hgs='hg status'
|
alias hgs='hg status'
|
||||||
# this is the 'git commit --amend' equivalent
|
# this is the 'git commit --amend' equivalent
|
||||||
|
@ -17,4 +19,4 @@ function hg_current_branch() {
|
||||||
if [ -d .hg ]; then
|
if [ -d .hg ]; then
|
||||||
echo hg:$(hg branch)
|
echo hg:$(hg branch)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue