feat(fish): evaluate homebrew at start
This commit is contained in:
@@ -2,6 +2,10 @@ if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
end
|
||||
|
||||
if test -f /home/linuxbrew/.linuxbrew/bin/brew
|
||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||
end
|
||||
|
||||
# Configure GPG
|
||||
set GPG_TTY $(tty)
|
||||
# Disable fish greeting
|
||||
@@ -35,10 +39,6 @@ for f in ~/.config/fish/completions/user/*.fish
|
||||
source $f
|
||||
end
|
||||
|
||||
if test -f /home/linuxbrew/.linuxbrew/bin/brew
|
||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||
end
|
||||
|
||||
# Enable starship
|
||||
starship init fish | source
|
||||
|
||||
|
||||
Reference in New Issue
Block a user