diff --git a/chezmoi/dot_zshenv b/chezmoi/dot_zshenv index 7544105..e8ea0ab 100644 --- a/chezmoi/dot_zshenv +++ b/chezmoi/dot_zshenv @@ -21,6 +21,11 @@ if [ "$(uname)" = "Darwin" ]; then if [ -x /opt/homebrew/bin/brew ]; then eval "$(/opt/homebrew/bin/brew shellenv)" fi + + # Use GNU tools if they're installed :D + for d in "${HOMEBREW_PREFIX}/opt"/*/libexec/gnubin; do + export PATH="$d:$PATH" + done fi if [ -d "${HOME}/bin" ]; then