TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Remove background highlighting when pasting text into the terminal

1 点作者 brendanfalk大约 4 年前
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

brendanfalk大约 4 年前
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>