home
list
tags
ip_location
gfwlist
torrent
log
about
new
proxy
todo
bash粘贴卡住问题
up:2026-05-13 07:11:41 edit:2026-05-14 06:25:04 view:22
bind 是 Bash 里的一个内置命令,用来配置 命令行输入行为。
简单说:你在终端里输入命令时,光标移动、快捷键、历史搜索、粘贴处理,这些很多都是由 Bash 底层的 readline 库处理的。bind 就是用来查看或修改这些 readline 设置的。
比如:
bind 'set enable-bracketed-paste off'
意思是让 Bash 修改一个 readline 选项:关闭 enable-bracketed-paste。
常见例子:
bind -v
查看当前 readline 配置。
bind -P
TAGS:
bind
粘贴
卡住
编辑
删除
not in sinaapp