Add eval to SCM_BRANCH in powerline theme

pull/1339/head
Anthony Wharton 2019-03-07 20:12:50 +00:00
parent 044ec29662
commit 81c3f70900
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function __powerline_scm_prompt {
elif [[ "${SCM_HG_CHAR}" == "${SCM_CHAR}" ]]; then
scm_prompt+="${SCM_CHAR}${SCM_BRANCH}${SCM_STATE}"
fi
echo "${scm_prompt}${scm}|${color}"
echo "$(eval "echo ${scm_prompt}")${scm}|${color}"
fi
}