diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-31 19:21:37 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-31 19:21:37 +0300 |
commit | a6b572da4597626fb55b11abb9d3fb0dc255a5cd (patch) | |
tree | 5811d3e3b3a83b985e236a8cd2646b306216202a /internal/p10k.zsh | |
parent | 070697a91401e1fb06ca7affa306b303b6d7701c (diff) |
add p10k configure
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; } |