[Pkg-zsh-commits] [SCM] Debian zsh package branch, debian, updated. debian/5.0.2-2-24-g8f09d2b

Frank Terbeck ft at bewatermyfriend.org
Thu Mar 28 18:32:39 UTC 2013


The following commit has been merged in the debian branch:
commit 8f09d2b6ae32d3e33cb276d180d8f4c0c61f4a7d
Author: Frank Terbeck <ft at bewatermyfriend.org>
Date:   Thu Mar 28 19:32:51 2013 +0100

    Make zle-line-init and -finish more robust against weird option sets
    
    Signed-off-by: Frank Terbeck <ft at bewatermyfriend.org>

diff --git a/debian/zshrc b/debian/zshrc
index 2e68181..d81847e 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

-- 
Debian zsh package



More information about the Pkg-zsh-commits mailing list