Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direnv support #149

Open
diegofariasm opened this issue Sep 8, 2023 · 0 comments
Open

Direnv support #149

diegofariasm opened this issue Sep 8, 2023 · 0 comments

Comments

@diegofariasm
Copy link
Contributor

So far, i have seen this plugin:

https://github.com/direnv/direnv.vim

I think it's a really useful tool. Doom emacs has it:

direnv: -

Save (or destroy) the environment at your leisure

This module integrates direnv into Emacs.

    📌 direnv is an environment switcher for the shell. It knows how to hook into bash, zsh, tcsh, fish shell and elvish to load or unload environment variables depending on the current directory. This allows project-specific environment variables without cluttering the ~/.profile file.

    Before each prompt, direnv checks for the existence of a “.envrc” file in the current and parent directories. If the file exists (and is authorized), it is loaded into a bash sub-shell and all exported variables are then captured by direnv and then made available to the current shell.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant