diff options
| author | Samiul Islam <[email protected]> | 2026-01-15 00:30:54 +0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-14 12:30:54 -0600 |
| commit | 4d08123ca0ef9644c3a4bd707d654ca4d031f4e5 (patch) | |
| tree | 8bd21f03c315cb5cab4e24f05dbb4cb2c3d19784 | |
| parent | 7d3c7a9f65607901550892e881c5bd4961098b76 (diff) | |
| download | opencode-4d08123ca0ef9644c3a4bd707d654ca4d031f4e5.tar.gz opencode-4d08123ca0ef9644c3a4bd707d654ca4d031f4e5.zip | |
feat(install): respect ZDOTDIR for zsh config detection (#8511)
Signed-off-by: sami <[email protected]>
| -rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -369,7 +369,7 @@ case $current_shell in config_files="$HOME/.config/fish/config.fish" ;; zsh) - config_files="$HOME/.zshrc $HOME/.zshenv $XDG_CONFIG_HOME/zsh/.zshrc $XDG_CONFIG_HOME/zsh/.zshenv" + config_files="${ZDOTDIR:-$HOME}/.zshrc ${ZDOTDIR:-$HOME}/.zshenv $XDG_CONFIG_HOME/zsh/.zshrc $XDG_CONFIG_HOME/zsh/.zshenv" ;; bash) config_files="$HOME/.bashrc $HOME/.bash_profile $HOME/.profile $XDG_CONFIG_HOME/bash/.bashrc $XDG_CONFIG_HOME/bash/.bash_profile" |
