summaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index c26cb4d5..c6682288 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4737,6 +4737,18 @@ function prompt_asdf() {
fi
fi
+ if [[ $version == system ]]; then
+ var=POWERLEVEL9K_ASDF_${upper}_SHOW_SYSTEM
+ if (( $+parameters[$var] )); then
+ [[ ${(P)var} == true ]] || continue
+ else
+ var=POWERLEVEL9K_ASDF_SHOW_SYSTEM
+ if (( $+parameters[$var] )); then
+ [[ ${(P)var} == true ]] || continue
+ fi
+ fi
+ fi
+
_p9k_get_icon $0_$upper ${upper}_ICON $plugin
_p9k_prompt_segment $0_$upper green $_p9k_color1 $'\1'$_p9k_ret 0 '' ${version//\%/%%}
done