aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-08-12 09:45:25 +0800
committerAaron LI <aaronly.me@outlook.com>2016-08-12 09:45:25 +0800
commit756fd7ad738b521347a5a8d32ddaac61cb8b0802 (patch)
tree3af3c0e11130753f6138b974341ace2f04e0b964 /_zsh
parentd67b02d6cb8c097c70ff148464d82d52463abe5e (diff)
downloaddotfiles-756fd7ad738b521347a5a8d32ddaac61cb8b0802.tar.bz2
zsh: turn off zle_bracketed_paste for DFly cons25
Diffstat (limited to '_zsh')
-rw-r--r--_zsh/60-zle.zsh4
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