From 81427a707f5fafbbb018611812bd785e001f932f Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 1 Apr 2013 16:58:43 +0200 Subject: [PATCH] zshrc: Make zle-smkx() and zle-rmkx() more robust wrt changed options Signed-off-by: Frank Terbeck --- etc/zsh/zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index e475070..335d71e 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1342,9 +1342,11 @@ function bind2maps () { if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then function zle-smkx () { + emulate -L zsh printf '%s' ${terminfo[smkx]} } function zle-rmkx () { + emulate -L zsh printf '%s' ${terminfo[rmkx]} } function zle-line-init () { -- 2.1.4