From a6b572da4597626fb55b11abb9d3fb0dc255a5cd Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 31 Jul 2019 18:21:37 +0200 Subject: add p10k configure --- internal/p10k.zsh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'internal/p10k.zsh') 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; } -- cgit v1.2.3