seagle0128 / doom-modeline

A fancy and fast mode-line inspired by minimalism design.
https://seagle0128.github.io/doom-modeline/
GNU General Public License v3.0
1.29k stars 159 forks source link

Direnv integration #654

Closed gekoke closed 2 months ago

gekoke commented 1 year ago

It would be nice if there was an integration with emacs-direnv to show whether a direnv environment is currently loaded, and perhaps display some information about the loaded environment.

This is what the "modeline" looks like in VSCode image (added, changed, removed envvars)

seagle0128 commented 1 year ago

Sorry, I am not using direnv. PRs are welcome.

mattiasb commented 1 year ago

I put a PR here that should help.

EDIT: Sorry, false alarm. My PR only makes python lookup work with direnv. No other integration.