From f9640412f3ddde09c0a9dc21d4d0176280e64495 Mon Sep 17 00:00:00 2001 From: a-plastic-bag <80624535+a-plastic-bag@users.noreply.github.com> Date: Wed, 12 Feb 2025 10:51:53 +1100 Subject: [PATCH] fix: fix incorrect completions path (#2253) Changes line 7 path from .../brew to .../brew.fish. This prevents brew completions link from running unnecessarily and significantly affecting fish startup times. --- system_files/overrides/usr/share/fish/vendor_conf.d/brew.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/overrides/usr/share/fish/vendor_conf.d/brew.fish b/system_files/overrides/usr/share/fish/vendor_conf.d/brew.fish index 1ddb1c68..d8040a1d 100644 --- a/system_files/overrides/usr/share/fish/vendor_conf.d/brew.fish +++ b/system_files/overrides/usr/share/fish/vendor_conf.d/brew.fish @@ -4,7 +4,7 @@ if status --is-interactive if [ -d /home/linuxbrew/.linuxbrew ] eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" if [ -w /home/linuxbrew/.linuxbrew ] - if [ ! -L (brew --prefix)/share/fish/vendor_completions.d/brew ] + if [ ! -L (brew --prefix)/share/fish/vendor_completions.d/brew.fish ] brew completions link > /dev/null end end