From 0f48361f27000bb65d63b5402863126c79924a25 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 14 Apr 2023 08:30:53 +0200 Subject: [PATCH] fix: problems with missing paths to homebrew --- fish/config.fish | 7 ++++--- zsh/zshrc | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/fish/config.fish b/fish/config.fish index d102400..5296570 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -10,9 +10,6 @@ if status --is-interactive source "$BASE16_SHELL/profile_helper.fish" end -# asdf Version Manager -source "$(brew --prefix)/opt/asdf/libexec/asdf.fish" - # SSH set -x SSH_AUTH_SOCK $HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh @@ -23,6 +20,7 @@ set -gx PATH "$VOLTA_HOME/bin" $PATH # Neovim as default editor set -U EDITOR nvim +set PATH /opt/homebrew/bin $PATH set PATH ~/.dotfiles/bin $PATH set PATH ~/.dotfiles/private/bin $PATH @@ -34,6 +32,9 @@ set --export RIPGREP_CONFIG_PATH $HOME/.ripgreprc set --export GIT_EDITOR nvim set --export EDITOR nvim +# asdf Version Manager +source (brew --prefix)/opt/asdf/libexec/asdf.fish + # FZF set FD_OPTIONS "--follow --exclude .git --exclude node_modules" diff --git a/zsh/zshrc b/zsh/zshrc index 2fa47fc..0b24db5 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -100,6 +100,9 @@ path=( $HOME/.dotfiles/bin $HOME/.dotfiles/private/bin $HOME/.local/bin + /opt/homebrew/bin + /opt/homebrew/sbin + /usr/local/bin /usr/local/sbin $path )