From: Frank Terbeck Date: Mon, 1 Apr 2013 14:58:43 +0000 (+0200) Subject: zshrc: Make zle-smkx() and zle-rmkx() more robust wrt changed options X-Git-Tag: v0.8.0~1 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=81427a707f5fafbbb018611812bd785e001f932f zshrc: Make zle-smkx() and zle-rmkx() more robust wrt changed options Signed-off-by: Frank Terbeck --- 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 () {