summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2016-08-11 23:17:03 +0300
committerBen Hilburn <bhilburn@gmail.com>2016-08-31 04:19:14 +0300
commit520eed12482b276e630d66b01a3f5852c96b6b1f (patch)
treef1818efc948ab61f61fa0cc31f1dd6bfe7faaaa3
parent02cc43ff095a4f71ca558ff8b1de307d3b95b7d8 (diff)
Removing `zle-*` overrides, appear fixed in new ZSH.
-rwxr-xr-xpowerlevel9k.zsh-theme28
1 files changed, 0 insertions, 28 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index e81aa6f2..19886435 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1029,30 +1029,6 @@ $(print_icon 'MULTILINE_SECOND_PROMPT_PREFIX')"
fi
}
-function zle-line-init {
- powerlevel9k_prepare_prompts
- if (( ${+terminfo[smkx]} )); then
- printf '%s' ${terminfo[smkx]}
- fi
- zle reset-prompt
- zle -R
-}
-
-function zle-line-finish {
- powerlevel9k_prepare_prompts
- if (( ${+terminfo[rmkx]} )); then
- printf '%s' ${terminfo[rmkx]}
- fi
- zle reset-prompt
- zle -R
-}
-
-function zle-keymap-select {
- powerlevel9k_prepare_prompts
- zle reset-prompt
- zle -R
-}
-
powerlevel9k_init() {
# Display a warning if the terminal does not support 256 colors
local term_colors
@@ -1096,10 +1072,6 @@ powerlevel9k_init() {
# prepare prompts
add-zsh-hook precmd powerlevel9k_prepare_prompts
-
- zle -N zle-line-init
- zle -N zle-line-finish
- zle -N zle-keymap-select
}
powerlevel9k_init "$@"