fix(fish): 将 \e\e 绑定语法更新为 Fish 4.0+ 的 escape,escape

This commit is contained in:
2026-04-10 09:37:29 +08:00
parent 3895221c48
commit b84368259d
+1 -1
View File
@@ -22,7 +22,7 @@ function __prepend_sudo
end end
end end
bind \e\e __prepend_sudo bind escape,escape __prepend_sudo # Fish 4.0+ 语法:双击 Escape 添加 sudo
bind ctrl-space accept-autosuggestion # Fish 4.0+ 语法 bind ctrl-space accept-autosuggestion # Fish 4.0+ 语法
set -gx FZF_DEFAULT_OPTS '--height=50% --layout=reverse --border --preview-window=right:60%' set -gx FZF_DEFAULT_OPTS '--height=50% --layout=reverse --border --preview-window=right:60%'