Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

direnv + mise does exactly that. When I cd to various directories I get different env vars, it's pretty neat. Setting aliases would just be a case of adding them.

https://github.com/jdx/mise/discussions/1525 for an example of how I use direnv with mise.

https://mise.jdx.dev/direnv.html

https://mise.jdx.dev/templates.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: