restore "loading" git status

pull/35/head
romkatv 6 years ago
parent ea13f92993
commit c04536ce70

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

Loading…
Cancel
Save