restore "loading" git status

This commit is contained in:
romkatv 2019-03-19 23:39:07 +01:00
parent ea13f92993
commit c04536ce70
1 changed files with 1 additions and 1 deletions

View File

@ -1625,7 +1625,7 @@ function _p9k_vcs_render() {
[[ $#msg != 0 || $dir == / ]] && break
dir=${dir:h}
done
(( $#msg )) || msg=(loading)
[[ $#msg -gt 1 || -n ${msg[0]} ]] || msg=(loading)
$2_prompt_segment $1_LOADING $3 "${vcs_states[loading]}" "$DEFAULT_COLOR" '' 0 '' "${msg[@]}"
return 0
fi