mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Add a command to show unresolve files in merge
This commit is contained in:
parent
c79e5a97a9
commit
067908698b
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ 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
|
||||||
alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'
|
alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'
|
||||||
|
# list unresolved files (since hg does not list unmerged files in the status command)
|
||||||
|
alias hgun='hg resolve --list'
|
||||||
|
|
||||||
function in_hg() {
|
function in_hg() {
|
||||||
if [[ -d .hg ]] || $(hg summary > /dev/null 2>&1); then
|
if [[ -d .hg ]] || $(hg summary > /dev/null 2>&1); then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue