From c3a2b6fa0c9ee7574f9167bb83b83debde42c3ae Mon Sep 17 00:00:00 2001 From: Rootiest Date: Mon, 7 Sep 2026 14:55:31 -0400 Subject: [PATCH] perf(conf.d): skip abbr.fish in non-interactive shells 61 abbreviations were declared on every fish -c. Abbreviations expand only in the line editor, so nothing outside an interactive session can use them. --- conf.d/abbr.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf.d/abbr.fish b/conf.d/abbr.fish index 5771e32..b8016d1 100644 --- a/conf.d/abbr.fish +++ b/conf.d/abbr.fish @@ -12,6 +12,9 @@ # site abbr-integrations: integrations/terminal-abbrs # site abbr-overrides: overrides/key-bindings +# Abbreviations only expand in the line editor; a script can never use one. +status is-interactive; or return + # Neovim # @category Editors # @desc nvim