Skip to content

Conversation

r00tdaemon
Copy link

Summary

Fixes #1715 #2297
This commit adds a patch to correctly handle ZDOTDIR env var for zsh. Instead of copying .z* files directly, we now source them inside devbox zsh config after setting ZDOTDIR to user's config dir. This makes sure any user config referencing ZDOTDIR doesn't break.

How was it tested?

Unit tests and manual testing

Community Contribution License

All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.

By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.

Fixes jetify-com#1715 jetify-com#2297
This commit adds a patch to correctly handle ZDOTDIR env var for zsh.
Instead of copying .z* files directly, we now source them inside devbox
zsh config after setting ZDOTDIR to user's config dir. This makes sure any
user config referencing ZDOTDIR doesn't break.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: devbox shell does not properly load with Zsh and custom ZDOTDIR variable
1 participant