eval "$(/opt/homebrew/bin/brew shellenv)" function b command brew $argv if contains -- "install" $argv; or contains -- "remove" $argv; or contains -- "uninstall" $argv; echo "Updating Brewfile..." command -c "brew bundle dump --force --file=~/.config/Brewfile" end end function brew_install brew bundle --file="~/.config/Brewfile" end