Detect dependency plugins in candy-kingdom and kiwi themes

Fixes #5029
Fixes #5342
This commit is contained in:
Marc Cornellà 2020-02-11 17:43:59 +01:00
commit 05cae34676
2 changed files with 14 additions and 14 deletions

View file

@ -1,6 +1,4 @@
#
# Kiwi ZSH Theme
#
(( $+functions[battery_pct_prompt] )) || function battery_pct_prompt { }
PROMPT='%{$fg_bold[green]%}┌[%{$fg_bold[cyan]%}kiwish-4.2%{$fg_bold[green]%}]-(%{$fg_bold[white]%}%2~%{$fg_bold[green]%})-$(git_prompt_info)$(svn_prompt_info)$(battery_pct_prompt)
└> % %{$reset_color%}'