diff options
| author | Dennis Trautwein <git@dtrautwein.eu> | 2023-12-12 11:03:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-12 10:03:22 +0000 |
| commit | 901459b805275a1581162c2b1e85664ac6fc5bcf (patch) | |
| tree | 6e50df54d56c1f29f4c0d8b544b6b48b3d330217 /install.sh | |
| parent | Update README.md logo height (diff) | |
| download | atuin-901459b805275a1581162c2b1e85664ac6fc5bcf.zip | |
fix(shell): respect ZSH's $ZDOTDIR environment variable (#1441)
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ esac # TODO: Check which shell is in use # Use of single quotes around $() is intentional here # shellcheck disable=SC2016 -if ! grep -q "atuin init zsh" ~/.zshrc; then +if ! grep -q "atuin init zsh" "${ZDOTDIR:-$HOME}/.zshrc"; then printf '\neval "$(atuin init zsh)"\n' >> "${ZDOTDIR:-$HOME}/.zshrc" fi |
