From a45afefca4374eda3c6d6940fa615a40842b98d1 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 15 Mar 2025 16:06:31 -0700 Subject: [PATCH] Fix paths --- dotfiles/zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 70c9493..d58b4cc 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -97,6 +97,10 @@ if [[ $- == *i* ]] ; then done # extra completions, prompt fpath=(~/.zshrc.completions ~/.zshrc.d/matir_prompt ~/.zshrc.d/agnoster_prompt $fpath) + # Homebrew on mac + if test -x /opt/homebrew/bin/brew ; then + eval $(/opt/homebrew/bin/brew shellenv) + fi # Completion zstyle ':compinstall' filename "${HOME}/.zshrc" zstyle ':completion:*' users root ${USER} @@ -140,10 +144,6 @@ if [[ $- == *i* ]] ; then # History alias fullhist="history 1" alias longhist="history -1000" - # Homebrew on mac - if test -x /opt/homebrew/bin/brew ; then - eval $(/opt/homebrew/bin/brew shellenv) - fi fi # End interactive-only block # In case ack is named ack-grep