Linux/direnv

From Omnia
Revision as of 21:51, 7 October 2026 by Kenneth (talk | contribs) (Created page with "Loads variables from .envrc on cd into a directory and unloads them on cd out https://pydevtools.com/handbook/reference/direnv/ sudo apt install direnv # bash (~/.bashrc) eval "$(direnv hook bash)"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Loads variables from .envrc on cd into a directory and unloads them on cd out

https://pydevtools.com/handbook/reference/direnv/

sudo apt install direnv
# bash (~/.bashrc)
eval "$(direnv hook bash)"