From c73483213feb85e11f61c6ea958d5cec7d7c24cd Mon Sep 17 00:00:00 2001 From: Jakob Guddas Date: Fri, 3 Nov 2023 00:01:56 +0100 Subject: [PATCH] feat(zsh): added support for custom $ZDOTDIR (#963) --- packaging/standalone/install.envsubst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/standalone/install.envsubst b/packaging/standalone/install.envsubst index a91a195b3f..1b2e699b93 100644 --- a/packaging/standalone/install.envsubst +++ b/packaging/standalone/install.envsubst @@ -138,7 +138,7 @@ after_finish_help() { case "${SHELL:-}" in */zsh) info "rtx: run the following to activate rtx in your shell:" - info "echo \"eval \\\"\\\$($install_path activate zsh)\\\"\" >> ~/.zshrc" + info "echo \"eval \\\"\\\$($install_path activate zsh)\\\"\" >> \"${ZDOTDIR-~}/.zshrc\"" info "" info "rtx: this must be run in order to use rtx in the terminal" info "rtx: run \`rtx doctor\` to verify this is setup correctly"