projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffa1f8
)
zshrc: Make zle-smkx() and zle-rmkx() more robust wrt changed options
author
Frank Terbeck
<ft@grml.org>
Mon, 1 Apr 2013 14:58:43 +0000
(16:58 +0200)
committer
Frank Terbeck
<ft@grml.org>
Mon, 1 Apr 2013 14:58:43 +0000
(16:58 +0200)
Signed-off-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
e475070
..
335d71e
100644
(file)
--- 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 () {