You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[shell] respect ZDOTDIR for zsh startup files, and copy startup files instead of linking (#1587)
## Summary
Seeks to address two concerns that have arisen:
1. Zsh startup files are linked, not copied. We should copy. This was
affecting a user who was mounting the filesystem which disallows linking
in that scenario.
Fixes#1536
2. ZDOTDIR was not respected for finding the ZSH startup files. We
should support it as the zsh manual specifies that its the location of
its startup files: https://zsh.sourceforge.io/Intro/intro_3.html
(Originally for #1582 , but it seems that issue is unrelated to ZDOTDIR)
EDIT: Fixes#1582, as per user who reported the issue
## How was it tested?
Tested by setting `ZDOTDIR=~/zsh-dot-dir` and moving my `.zshenv` and
`.zshrc` files there. Starting a `devbox shell` showed that these
startup files were run.
Moved them back to my homedir, and unset `ZDOTDIR` and starting a
`devbox shell` still worked as expected.
0 commit comments