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

envrc not recognizing .envrc file in a parent directory #67

Open
notmike-5 opened this issue Sep 21, 2023 · 1 comment
Open

envrc not recognizing .envrc file in a parent directory #67

notmike-5 opened this issue Sep 21, 2023 · 1 comment

Comments

@notmike-5
Copy link

notmike-5 commented Sep 21, 2023

I have the following envrc-mode config

;; envrc
(use-package envrc
  :ensure t
  :init (envrc-global-mode))

When I startup emacs I seem to be in envrc-mode.

However, if I open a file that is nested in a directory where one of the parent directories contains an .envrc file, that env is not activated with respect to that file. Running (envrc-reload) in the file buffer does activate the environment.

@purcell
Copy link
Owner

purcell commented Sep 21, 2023

Try setting envrc-debug to t, and then you may find some extra clues in the *envrc-debug* buffer which help you figure out what's happening.

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

2 participants