diff options
author | Marc Cornellà <hello@mcornella.com> | 2023-02-02 08:49:08 +0100 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2023-02-02 08:53:44 +0100 |
commit | 6c3cf658f6f341f7c716d6ff16714465cb651725 (patch) | |
tree | 0c3af3661d8e375e1be0c0bb935aa70235afa049 /tools | |
parent | 5c9a3d2f4f5cecc019b49d8fa3c151e547f8b139 (diff) | |
download | zsh-6c3cf658f6f341f7c716d6ff16714465cb651725.tar.gz zsh-6c3cf658f6f341f7c716d6ff16714465cb651725.tar.bz2 zsh-6c3cf658f6f341f7c716d6ff16714465cb651725.zip |
fix(installer): automatically create ZDOTDIR path if it doesn't exist
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/install.sh b/tools/install.sh index 3ea12f8d4..f4ef16a0c 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -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 |