From 756fd7ad738b521347a5a8d32ddaac61cb8b0802 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 12 Aug 2016 09:45:25 +0800 Subject: zsh: turn off zle_bracketed_paste for DFly cons25 --- _zsh/60-zle.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_zsh') 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 -- cgit v1.2.2