Skip to content

Commit

Permalink
fix: fix incorrect completions path (#2253)
Browse files Browse the repository at this point in the history
Changes line 7 path from .../brew to .../brew.fish.
This prevents brew completions link from running unnecessarily and
significantly affecting fish startup times.
  • Loading branch information
a-plastic-bag authored Feb 11, 2025
1 parent b3f20c0 commit f964041
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f964041

Please sign in to comment.