Merge pull request #1211 from dracorp/fork

The function _git-hide-status is invoked to late
pull/1217/head
Nils Winkler 2018-07-18 09:19:42 +02:00 committed by GitHub
commit 3d6d42ec2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -393,6 +393,7 @@ function user_host_prompt {
# backwards-compatibility # backwards-compatibility
function git_prompt_info { function git_prompt_info {
_git-hide-status && return
git_prompt_vars git_prompt_vars
echo -e "${SCM_PREFIX}${SCM_BRANCH}${SCM_STATE}${SCM_SUFFIX}" echo -e "${SCM_PREFIX}${SCM_BRANCH}${SCM_STATE}${SCM_SUFFIX}"
} }