Skip to content

Commit 540ed14

Browse files
adamperkowskinnyyxxxx
andcommitted
📃 fix(zsh-setup): create /env/zsh dir
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
1 parent 93a0021 commit 540ed14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tabs/applications-setup/zsh-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RPROMPT='%F{15}(%F{166}%D{%H:%M}%F{15})%f'
4444
EOL
4545

4646
# Ensure /etc/zsh/zshenv sets ZDOTDIR to the user's config directory
47-
[ ! -f /etc/zsh/zshenv ] && "$ESCALATION_TOOL" touch /etc/zsh/zshenv
47+
[ ! -f /etc/zsh/zshenv ] && "$ESCALATION_TOOL" mkdir -p /etc/zsh && "$ESCALATION_TOOL" touch /etc/zsh/zshenv
4848
echo "export ZDOTDIR=\"$HOME/.config/zsh\"" | "$ESCALATION_TOOL" tee -a /etc/zsh/zshenv
4949
}
5050

0 commit comments

Comments
 (0)