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

Move logic to set current directory before loading other config #1848

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

joshbode
Copy link
Contributor

Fixes #1843

@jdx jdx merged commit 4113012 into jdx:main Mar 31, 2024
7 checks passed
@joshbode joshbode deleted the cd-fix branch March 31, 2024 06:51
@joshbode
Copy link
Contributor Author

Thanks @jdx!

This will fix my workflow in Neovim where I use an auto-command to dynamically update environment variables in nvim on directory-change (DirChanged event) to ensure that various LSPs (e.g. pyright and ruff-lsp) discover virtual-environments and other tools correctly :)
Now I should be able to migrate away from direnv completely

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 this pull request may close these issues.

mise exec --cd option doesn't activate tools or env
2 participants