diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-02-11 17:43:59 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2020-02-11 17:43:59 +0100 |
commit | 05cae34676ac3a22fb8a0adca8ab9b5301f48fb9 (patch) | |
tree | 14d4f5cf6308920518034dee4d555de186d0b3dd /themes/kiwi.zsh-theme | |
parent | 83aa984d1a11199d5bb23fb1e462f48e9b4edc88 (diff) | |
download | zsh-05cae34676ac3a22fb8a0adca8ab9b5301f48fb9.tar.gz zsh-05cae34676ac3a22fb8a0adca8ab9b5301f48fb9.tar.bz2 zsh-05cae34676ac3a22fb8a0adca8ab9b5301f48fb9.zip |
Detect dependency plugins in candy-kingdom and kiwi themes
Fixes #5029
Fixes #5342
Diffstat (limited to 'themes/kiwi.zsh-theme')
-rw-r--r-- | themes/kiwi.zsh-theme | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/themes/kiwi.zsh-theme b/themes/kiwi.zsh-theme index f93de2b75..94f0ffcbf 100644 --- a/themes/kiwi.zsh-theme +++ b/themes/kiwi.zsh-theme @@ -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%}' |