Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions system_files/usr/share/fish/vendor_conf.d/ublue-brew.fish
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
#!/usr/bin/fish
#shellcheck disable=all
if status --is-interactive
if [ -d /home/linuxbrew/.linuxbrew ]
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv fish)"
if test -d /home/linuxbrew/.linuxbrew
/home/linuxbrew/.linuxbrew/bin/brew shellenv fish | source

# Prioritize system binaries to prevent brew overriding things like dbus
fish_add_path --move --append --path (brew --prefix)/bin (brew --prefix)/sbin

if test -d (brew --prefix)/share/fish/completions
set -p fish_complete_path (brew --prefix)/share/fish/completions
set -ga 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
set -ga fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
end
end
end
Loading