add p10k configure
This commit is contained in:
parent
070697a914
commit
a6b572da45
5 changed files with 18 additions and 8 deletions
|
@ -4329,6 +4329,16 @@ prompt_powerlevel9k_teardown() {
|
|||
fi
|
||||
}
|
||||
|
||||
function p10k() {
|
||||
emulate -L zsh && setopt no_hist_expand extended_glob
|
||||
if [[ $# == 1 && $1 == configure ]]; then
|
||||
p9k_configure
|
||||
else
|
||||
print -P "Usage: %2Fp10k%f %Bconfigure%b" >&2
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
# Hook for zplugin.
|
||||
powerlevel10k_plugin_unload() { prompt_powerlevel9k_teardown; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue