mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
removed unnecesay limit to current dir from hg status
This commit is contained in:
parent
a45733c0eb
commit
392a8ee02d
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ $ZSH_THEME_REPO_NAME_COLOR$_DISPLAY$ZSH_PROMPT_BASE_COLOR$ZSH_PROMPT_BASE_COLOR$
|
||||||
}
|
}
|
||||||
|
|
||||||
function hg_dirty_choose {
|
function hg_dirty_choose {
|
||||||
hg status -mar . 2> /dev/null | command grep -Eq '^\s*[ACDIM!?L]'
|
hg status -mar 2> /dev/null | command grep -Eq '^\s*[ACDIM!?L]'
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
if [ $pipestatus[-1] -eq 0 ]; then
|
if [ $pipestatus[-1] -eq 0 ]; then
|
||||||
# Grep exits with 0 when "One or more lines were selected", return "dirty".
|
# Grep exits with 0 when "One or more lines were selected", return "dirty".
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue