From b508bd267f1c0aae7a9afbc39f24b1046abcf1c4 Mon Sep 17 00:00:00 2001 From: antistereov Date: Tue, 16 Dec 2025 20:40:26 +0100 Subject: [PATCH] feat(fish): evaluate homebrew at start --- fish/config.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fish/config.fish b/fish/config.fish index aef6691..2d57e6f 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -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