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
|
fi
|
||||||
}; zle -N zle-keymap-select
|
}; zle -N zle-keymap-select
|
||||||
|
|
||||||
|
eval "override-vi-mode-$(declare -f zle-line-init)"
|
||||||
zle-line-init () {
|
zle-line-init () {
|
||||||
if [ $TERM = "screen" ]; then
|
if [ $TERM = "screen" ]; then
|
||||||
echo -ne $VIM_INSERT_COLOR
|
echo -ne $VIM_INSERT_COLOR
|
||||||
elif [ $TERM != "linux" ]; then
|
elif [ $TERM != "linux" ]; then
|
||||||
echo -ne $VIM_INSERT_COLOR
|
echo -ne $VIM_INSERT_COLOR
|
||||||
fi
|
fi
|
||||||
|
override-vi-mode-zle-line-init
|
||||||
}; zle -N zle-line-init
|
}; zle -N zle-line-init
|
||||||
|
|
||||||
autoload -U select-quoted
|
autoload -U select-quoted
|
||||||
|
Loading…
Reference in New Issue
Block a user