mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
updated mercurial plugin
This commit is contained in:
parent
f3052c60c9
commit
5f9a4373e6
2 changed files with 14 additions and 3 deletions
|
|
@ -12,3 +12,9 @@ alias hgp='hg push'
|
|||
alias hgs='hg status'
|
||||
# this is the 'git commit --amend' equivalent
|
||||
alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'
|
||||
|
||||
function current_branch_hg() {
|
||||
ref=$(hg branch 2> /dev/null) || return
|
||||
echo ${ref#refs/heads/}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue