TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Remove background highlighting when pasting text into the terminal

1 pointsby brendanfalkabout 4 years ago
The background highlighting when pasting text into into the terminal &#x2F; shell has subtly annoyed me for a while. Here is how to remove it:<p><pre><code> zsh: Add `zle_highlight+=(paste:none)` to ~&#x2F;.zshrc [1] bash (v4.4+): add `set enable-bracketed-paste off` to ~&#x2F;.inputrc [2] </code></pre> [1] https:&#x2F;&#x2F;github.com&#x2F;zsh-users&#x2F;zsh-syntax-highlighting&#x2F;issues&#x2F;349<p>[2] https:&#x2F;&#x2F;www.garyshood.com&#x2F;bash-highlight&#x2F;

1 comment

brendanfalkabout 4 years ago
Some interesting additional information about &quot;bracketed paste mode&quot;: <a href="https:&#x2F;&#x2F;cirw.in&#x2F;blog&#x2F;bracketed-paste" rel="nofollow">https:&#x2F;&#x2F;cirw.in&#x2F;blog&#x2F;bracketed-paste</a>