mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 08:08:00 +00:00
prompt: Remove Powerlevel9k
Powerlevel9k has been marked deprecated and unmaintained by the author. Powerlevel10k is now the recommended replacement. See: https://github.com/Powerlevel9k/powerlevel9k#powerlevel9k-is-deprecated-and-now-unmaintained-please-use-powerlevel10k
This commit is contained in:
parent
ce937020ce
commit
0a07ba27a2
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -25,10 +25,6 @@
|
||||
[submodule "modules/prompt/external/async"]
|
||||
path = modules/prompt/external/async
|
||||
url = https://github.com/mafredri/zsh-async.git
|
||||
[submodule "modules/prompt/external/powerlevel9k"]
|
||||
path = modules/prompt/external/powerlevel9k
|
||||
url = https://github.com/bhilburn/powerlevel9k.git
|
||||
shallow = true
|
||||
[submodule "modules/prompt/external/powerlevel10k"]
|
||||
path = modules/prompt/external/powerlevel10k
|
||||
url = https://github.com/romkatv/powerlevel10k.git
|
||||
|
1
modules/prompt/external/powerlevel9k
vendored
1
modules/prompt/external/powerlevel9k
vendored
@ -1 +0,0 @@
|
||||
Subproject commit 2f4b15041fe31d85dc9ef705b818c3a0e6985da3
|
@ -12,6 +12,11 @@ autoload -Uz promptinit && promptinit
|
||||
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"
|
||||
prompt 'sorin'
|
||||
else
|
||||
prompt "$prompt_argv[@]"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user