From e7f75d20bc11093da934fce7e7a722155e1dc018 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Wed, 26 Apr 2023 19:40:59 -0500 Subject: [PATCH] prompt: Remove 'powerlevel9k' deprecation warning 'powerlevel9k' is unsupported and deprecated for 2 years now. It's time to cleanu the deprecation warning message. --- modules/prompt/init.zsh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/modules/prompt/init.zsh b/modules/prompt/init.zsh index 3180883..37bff32 100644 --- a/modules/prompt/init.zsh +++ b/modules/prompt/init.zsh @@ -10,18 +10,8 @@ autoload -Uz promptinit && promptinit # Load the prompt theme. zstyle -a ':prezto:module:prompt' theme 'prompt_argv' -if [[ "$TERM" == (dumb|linux|*bsd*) ]] || (( $#prompt_argv < 1 )); then +if [[ $TERM == (dumb|linux|*bsd*) ]] || (( $#prompt_argv < 1 )); then prompt 'off' -elif [[ "$prompt_argv[1]" == 'powerlevel9k' ]] ; then - <