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

*Warnings* buffer pops up when .envrc is blocked #60

Closed
rvl opened this issue Mar 19, 2020 · 3 comments · Fixed by #61
Closed

*Warnings* buffer pops up when .envrc is blocked #60

rvl opened this issue Mar 19, 2020 · 3 comments · Fixed by #61

Comments

@rvl
Copy link
Contributor

rvl commented Mar 19, 2020

I often visit files in projects where direnv is not allowed.

I do not necessarily want to unblock .envrc for these projects.

In this case, the *Warnings* buffer keeps popping up with the error message from direnv.

Is there any way to prevent these warnings from appearing?

@rvl
Copy link
Contributor Author

rvl commented Mar 19, 2020

If (warn ...) were replaced with (display-warning 'direnv ...) then it would be possible to customize warning-suppress-types to hide the warnings.

@wbolster
Copy link
Owner

makes sense, can you cook a pr?

@rvl
Copy link
Contributor Author

rvl commented Mar 19, 2020

Sure - #61.

Ideally direnv would show its status in the modeline, but I don't know how to do that.

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

Successfully merging a pull request may close this issue.

2 participants