Took from Bluefin's PR: https://github.com/ublue-os/bluefin/pull/1408 Not sure why this needs to be removed, so I won't merge this until I get more information for this.
13 lines
499 B
Fish
Executable file
13 lines
499 B
Fish
Executable file
#!/usr/bin/env fish
|
|
#shellcheck disable=all
|
|
if status --is-interactive
|
|
if [ -d /home/linuxbrew/.linuxbrew ]
|
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
|
if test -d (brew --prefix)/share/fish/completions
|
|
set -p fish_complete_path (brew --prefix)/share/fish/completions
|
|
end
|
|
if test -d (brew --prefix)/share/fish/vendor_completions.d
|
|
set -p fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
|
|
end
|
|
end
|
|
end
|