summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/zshrc b/debian/zshrc
index 2e68181a1..d81847e4f 100644
--- a/debian/zshrc
+++ b/debian/zshrc
@@ -68,9 +68,11 @@ then
# active. Only then are the values from $terminfo valid.
if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
function zle-line-init () {
+ emulate -L zsh
printf '%s' ${terminfo[smkx]}
}
function zle-line-finish () {
+ emulate -L zsh
printf '%s' ${terminfo[rmkx]}
}
zle -N zle-line-init