From ecebc367dfe18a5eada6de977ad62626a54614b5 Mon Sep 17 00:00:00 2001 From: 0ximmeas <115221598+0ximmeas@users.noreply.github.com> Date: Mon, 11 Nov 2024 13:29:37 +0100 Subject: [PATCH] fix: make install work with non interactive zsh shells --- cyfrinup/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyfrinup/install b/cyfrinup/install index b257974e..99a88077 100755 --- a/cyfrinup/install +++ b/cyfrinup/install @@ -46,7 +46,7 @@ chmod +x $BIN_PATH # Store the correct profile file (i.e. .profile for bash or .zshrc for ZSH). case $SHELL in */zsh) - PROFILE=$HOME/.zshrc + PROFILE="${ZDOTDIR-"$HOME"}/.zshenv" PREF_SHELL=zsh ;; */bash)