Shell command does not source .zshenv and does not respect ZDOTDIR env #1313

Closed
opened 2026-02-16 17:30:24 -05:00 by yindo · 0 comments
Owner

Originally created by @yihuikhuu on GitHub (Aug 15, 2025).

Originally assigned to: @thdxr on GitHub.

In some cases, ~/.zshenv is used to define ZDOTDIR which points to an alternate location for the .zshrc file.

Currently this file and variable are not used when loading the shell environment, so certain things like aliases are not available for these cases.

Originally created by @yihuikhuu on GitHub (Aug 15, 2025). Originally assigned to: @thdxr on GitHub. In some cases, `~/.zshenv` is used to define `ZDOTDIR` which points to an alternate location for the `.zshrc` file. Currently this file and variable are not used when loading the shell environment, so certain things like aliases are not available for these cases.
yindo closed this issue 2026-02-16 17:30:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1313