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.
This commit is contained in:
@@ -12,6 +12,9 @@
|
|||||||
# site abbr-integrations: integrations/terminal-abbrs
|
# site abbr-integrations: integrations/terminal-abbrs
|
||||||
# site abbr-overrides: overrides/key-bindings
|
# 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
|
# Neovim
|
||||||
# @category Editors
|
# @category Editors
|
||||||
# @desc nvim
|
# @desc nvim
|
||||||
|
|||||||
Reference in New Issue
Block a user