Better approach to dealing with the switch in Homebrew
This commit is contained in:
parent
1813f6e62b
commit
aed9f98082
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue