ab0601c evaluate previously declared zle-line-init
This commit is contained in:
parent
c743766852
commit
1785665caf
@ -34,12 +34,14 @@ function zle-keymap-select() {
|
||||
fi
|
||||
}; zle -N zle-keymap-select
|
||||
|
||||
eval "override-vi-mode-$(declare -f zle-line-init)"
|
||||
zle-line-init () {
|
||||
if [ $TERM = "screen" ]; then
|
||||
echo -ne $VIM_INSERT_COLOR
|
||||
elif [ $TERM != "linux" ]; then
|
||||
echo -ne $VIM_INSERT_COLOR
|
||||
fi
|
||||
override-vi-mode-zle-line-init
|
||||
}; zle -N zle-line-init
|
||||
|
||||
autoload -U select-quoted
|
||||
|
Loading…
Reference in New Issue
Block a user