Permalink
Browse files

zshrc: Make zle-smkx() and zle-rmkx() more robust wrt changed options

Signed-off-by: Frank Terbeck <ft@grml.org>
  • Loading branch information...
1 parent 8ffa1f8 commit 81427a707f5fafbbb018611812bd785e001f932f @ft ft committed Apr 1, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 etc/zsh/zshrc
View
@@ -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 () {

0 comments on commit 81427a7

Please sign in to comment.