From a2f3f419f681f4dbc58d4229572fa0e5277303fe Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Thu, 29 Apr 2021 17:22:53 -0500 Subject: [PATCH] prompt: Make 'powerlevel9k' removal warning message friendlier --- modules/prompt/init.zsh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/prompt/init.zsh b/modules/prompt/init.zsh index 677a470b..80f465e5 100644 --- a/modules/prompt/init.zsh +++ b/modules/prompt/init.zsh @@ -13,9 +13,12 @@ zstyle -a ':prezto:module:prompt' theme 'prompt_argv' if [[ "$TERM" == (dumb|linux|*bsd*) ]] || (( $#prompt_argv < 1 )); then prompt 'off' elif [[ "$prompt_argv[1]" == 'powerlevel9k' ]] ; then - printf "'powerlevel9k' has been deprecated and unsupported by its author, " - printf "consider migrating to 'powerlevel10k' instead.\n" - printf "Switching to prezto default prompt...\n" + <