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
|
# Commands to run in interactive sessions can go here
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if test -f /home/linuxbrew/.linuxbrew/bin/brew
|
||||||
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
|
end
|
||||||
|
|
||||||
# Configure GPG
|
# Configure GPG
|
||||||
set GPG_TTY $(tty)
|
set GPG_TTY $(tty)
|
||||||
# Disable fish greeting
|
# Disable fish greeting
|
||||||
@@ -35,10 +39,6 @@ for f in ~/.config/fish/completions/user/*.fish
|
|||||||
source $f
|
source $f
|
||||||
end
|
end
|
||||||
|
|
||||||
if test -f /home/linuxbrew/.linuxbrew/bin/brew
|
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Enable starship
|
# Enable starship
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user