diff --git a/dotfiles/shell/functions b/dotfiles/shell/functions index 69ac3b7..61d3a19 100644 --- a/dotfiles/shell/functions +++ b/dotfiles/shell/functions @@ -554,7 +554,7 @@ if [ -x /usr/bin/which ] ; then whichpkg() { /usr/bin/which "$@" | xargs qfile } - elif [ -x /usr/local/bin/brew ] ; then + elif [ -x /usr/local/bin/brew ] || [ -x /opt/homebrew/bin/brew ] ; then # Mac OS X files are symlinks to /usr/local/Cellar/PKGNAME/... whichpkg() { /usr/bin/which "$@" | xargs realpath