From b1e67ce48244b6d33b3932dd580a6b11573b632a Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Tue, 14 Jun 2022 16:43:11 -0700 Subject: [PATCH] simplify setting homebrew envvars --- runcoms/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runcoms/zshrc b/runcoms/zshrc index 47fa21e..13f4411 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -35,7 +35,7 @@ alias tmux="direnv exec / tmux" function eject { command hdiutil eject `df | grep Volumes | grep -i "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; } -eval "$($HOMEBREW_PREFIX/bin/brew shellenv)" +eval "$(brew shellenv)" [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh