mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-19 05:51:57 +00:00
restore "loading" git status
This commit is contained in:
parent
ea13f92993
commit
c04536ce70
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue