perf(conf.d): skip key_bindings.fish in non-interactive shells

fish_user_key_bindings is invoked only by the interactive reader.
This commit is contained in:
2026-09-07 14:57:02 -04:00
parent 13d415db2b
commit bb5b6b361a
+4
View File
@@ -47,6 +47,10 @@
# This allows for rapid-fire math without leaving the current shell.
# ──────────────────────────────────────────────────────────────────────
# Defines only fish_user_key_bindings, which fish calls from the interactive
# reader and nowhere else.
status is-interactive; or return
function fish_user_key_bindings
# Custom key chords are opinionated (C3 overrides); skip them entirely