diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-11-04 00:09:20 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-11-04 00:09:57 -0500 |
commit | ceeb3c95952afb478ce2777bc84e01368ef7e7b5 (patch) | |
tree | b295f41c464bb5d5f9eac1ff46822f76dc15b821 /zshrc | |
parent | 6318219aef8d5ada1d567363f2ae86dd95b1d353 (diff) | |
download | conf-ceeb3c95952afb478ce2777bc84e01368ef7e7b5.tar.gz conf-ceeb3c95952afb478ce2777bc84e01368ef7e7b5.zip |
work around a zsh bug(?)
see https://github.com/hchbaw/opp.zsh/issues/1 for more details
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -87,7 +87,9 @@ function shell_prompt_precmd () { RPS1='' } precmd_functions+=(shell_prompt_precmd) -function zle-line-init zle-keymap-select () { +function zle-keymap-select () { + setopt localoptions no_ksharrays + { [[ "${@[2]-main}" == opp ]] } && return if [[ "x$KEYMAP" == 'xmain' ]]; then RPS1='' else @@ -95,7 +97,6 @@ function zle-line-init zle-keymap-select () { fi zle reset-prompt } -zle -N zle-line-init zle -N zle-keymap-select # }}} # set the correct perl {{{ |