Better approach to dealing with the switch in Homebrew

This commit is contained in:
Howard Abrams 2023-11-18 20:58:59 -08:00
parent 1813f6e62b
commit aed9f98082

View file

@ -34,7 +34,7 @@ Farm off commands into /virtual environments/:
:init :init
(setq direnv-always-show-summary t (setq direnv-always-show-summary t
direnv-show-paths-in-summary t) direnv-show-paths-in-summary t)
(if (ha-running-on-macos?) (if (file-exists-p "/opt/homebrew")
(setq direnv--executable "/opt/homebrew/bin/direnv") (setq direnv--executable "/opt/homebrew/bin/direnv")
(setq direnv--executable "/usr/local/bin/direnv")) (setq direnv--executable "/usr/local/bin/direnv"))
:config :config