diff options
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-x | internal/p10k.zsh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 4059bd87..71a47362 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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; } |