diff options
author | Owen McGill <mcgillowen@users.noreply.github.com> | 2017-01-20 00:48:57 +0300 |
---|---|---|
committer | Ben Hilburn <bhilburn@gmail.com> | 2017-01-21 04:44:24 +0300 |
commit | e2b2e8e173af682c2a326f15f885ede68151b896 (patch) | |
tree | 5822d1393b875c48e8e651c541ed7da89883232f /powerlevel9k.zsh-theme | |
parent | e9af4aab4f62970a9bdd0dd2c3cca8ca2b23b0f5 (diff) |
Change powerlevel9k_init to prompt_powerlevel_setup
Changed init/setup function name to be compatible with zsh promptinit, zsh prompt function only lists themes with prompt_*_setup init/setup functions
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 4c9c75c7..c3f2be74 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1147,7 +1147,7 @@ $(print_icon 'MULTILINE_SECOND_PROMPT_PREFIX')" fi } -powerlevel9k_init() { +prompt_powerlevel9k_setup() { # Display a warning if the terminal does not support 256 colors local term_colors term_colors=$(echotc Co) @@ -1199,4 +1199,5 @@ powerlevel9k_init() { add-zsh-hook precmd powerlevel9k_prepare_prompts } -powerlevel9k_init "$@" +prompt_powerlevel9k_setup "$@" + |