|
@@ -128,6 +128,7 @@ prompt_git() {
|
|
}
|
|
}
|
|
|
|
|
|
prompt_hg() {
|
|
prompt_hg() {
|
|
|
|
+ (( $+commands[hg] )) || return
|
|
local rev status
|
|
local rev status
|
|
if $(hg id >/dev/null 2>&1); then
|
|
if $(hg id >/dev/null 2>&1); then
|
|
if $(hg prompt >/dev/null 2>&1); then
|
|
if $(hg prompt >/dev/null 2>&1); then
|