From ff6c4bebd1d16d9d973389d55262682c6079d08b Mon Sep 17 00:00:00 2001 From: hoellen Date: Tue, 8 Aug 2023 17:18:50 +0200 Subject: [PATCH] Add homebrew to env path variable on MacOS --- .config/fish/config.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 4a9071a..7ef1334 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -12,6 +12,11 @@ source "$XDG_CONFIG_HOME/aliases" # settings #fish_vi_key_bindings # enable vi mode +# MacOS specific config +if [ (uname) = "Darwin" ] && status is-interactive; + eval "$(/opt/homebrew/bin/brew shellenv)" +end + # If running from tty1 start sway if test (tty) = "/dev/tty1" sway-run