GH-1142 add behavior to address using set -e
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user