mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Added mercurial plugin with aliases.
This commit is contained in:
parent
ed990f61ff
commit
55eda0c48b
1 changed files with 14 additions and 0 deletions
14
plugins/mercurial/mercurial.plugin.zsh
Normal file
14
plugins/mercurial/mercurial.plugin.zsh
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
# Mercurial
|
||||
alias hgc='hg commit -v'
|
||||
alias hgb='hg branch -v'
|
||||
alias hgba='hg branches'
|
||||
alias hgco='hg checkout'
|
||||
alias hgd='hg diff'
|
||||
alias hged='hg diffmerge'
|
||||
# pull and update
|
||||
alias hgl='hg pull -u -v'
|
||||
alias hgp='hg push -v'
|
||||
alias hgs='hg status -v'
|
||||
# this is the 'git commit --amend' equivalent
|
||||
alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'
|
Loading…
Reference in a new issue