diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-08-12 09:45:25 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-08-12 09:45:25 +0800 |
commit | 756fd7ad738b521347a5a8d32ddaac61cb8b0802 (patch) | |
tree | 3af3c0e11130753f6138b974341ace2f04e0b964 | |
parent | d67b02d6cb8c097c70ff148464d82d52463abe5e (diff) | |
download | dotfiles-756fd7ad738b521347a5a8d32ddaac61cb8b0802.tar.bz2 |
zsh: turn off zle_bracketed_paste for DFly cons25
-rw-r--r-- | _zsh/60-zle.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_zsh/60-zle.zsh b/_zsh/60-zle.zsh index f76f748..92c339d 100644 --- a/_zsh/60-zle.zsh +++ b/_zsh/60-zle.zsh @@ -6,11 +6,11 @@ # 2016-05-29 # -# Turn off ZLE bracketed paste in dumb term, +# Turn off ZLE bracketed paste in dumb and cons25 (DFly default console) term, # otherwise turn on ZLE bracketed-paste-magic # Credit: http://zmwangx.github.io/blog/2015-09-21-zsh-51-and-bracketed-paste.html # See also zshparam(1) -if [[ ${TERM} == dumb ]]; then +if [[ ${TERM} == dumb ]] || [[ ${TERM} == cons25 ]]; then unset zle_bracketed_paste else autoload -Uz bracketed-paste-magic |