1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 02:20:09 +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
fi
# Create ZDOTDIR folder structure if it doesn't exist
if [ -n "$ZDOTDIR" ]; then
mkdir -p "$ZDOTDIR"
fi
setup_ohmyzsh
setup_zshrc
setup_shell