GH-1142 add behavior to address using set -e
parent
7bd62af151
commit
db55c63c77
|
|
@ -125,8 +125,8 @@ function scm_prompt_info_common {
|
|||
fi
|
||||
|
||||
# TODO: consider adding minimal status information for hg and svn
|
||||
[[ ${SCM} == ${SCM_HG} ]] && hg_prompt_info && return
|
||||
[[ ${SCM} == ${SCM_SVN} ]] && svn_prompt_info && return
|
||||
{ [[ ${SCM:-} == ${SCM_HG} ]] && hg_prompt_info && return; } || true
|
||||
{ [[ ${SCM:-} == ${SCM_SVN} ]] && svn_prompt_info && return; } || true
|
||||
}
|
||||
|
||||
function git_prompt_minimal_info {
|
||||
|
|
|
|||
Loading…
Reference in New Issue