diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-03-20 01:39:07 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-03-20 01:39:07 +0300 |
commit | c04536ce701aa496d6169d38fffe6d9709ce3455 (patch) | |
tree | d6827aa63286fc746482ac673384fa6cb2f68f6c /powerlevel9k.zsh-theme | |
parent | ea13f92993777e90b5b277d298b64b99f160c29c (diff) |
restore "loading" git status
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index a57ef693..78cb2d67 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -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 |