fix(installer): automatically create ZDOTDIR path if it doesn't exist

This commit is contained in:
Marc Cornellà 2023-02-02 08:49:08 +01:00
parent 5c9a3d2f4f
commit 6c3cf658f6

View File

@ -523,6 +523,11 @@ EOF
exit 1
fi
# Create ZDOTDIR folder structure if it doesn't exist
if [ -n "$ZDOTDIR" ]; then
mkdir -p "$ZDOTDIR"
fi
setup_ohmyzsh
setup_zshrc
setup_shell