add p10k configure

This commit is contained in:
romkatv 2019-07-31 18:21:37 +02:00
commit a6b572da45
5 changed files with 18 additions and 8 deletions

View file

@ -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; }