1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-16 02:40:08 +00:00

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 exit 1
fi fi
# Create ZDOTDIR folder structure if it doesn't exist
if [ -n "$ZDOTDIR" ]; then
mkdir -p "$ZDOTDIR"
fi
setup_ohmyzsh setup_ohmyzsh
setup_zshrc setup_zshrc
setup_shell setup_shell