From cb01867ba6f2fb9889338f871f6ed8401aad3f18 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Tue, 16 Apr 2019 23:36:57 -0700 Subject: [PATCH] Use submodule for zprezto. --- .gitmodules | 3 +++ dotfiles/zprezto | 1 + install.sh | 3 +-- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 160000 dotfiles/zprezto diff --git a/.gitmodules b/.gitmodules index 133e089..220ac96 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "dotfiles/vim/pack/matir/start/vim-go"] path = dotfiles/vim/pack/matir/start/vim-go url = https://github.com/fatih/vim-go.git +[submodule "dotfiles/zprezto"] + path = dotfiles/zprezto + url = https://github.com/sorin-ionescu/prezto.git diff --git a/dotfiles/zprezto b/dotfiles/zprezto new file mode 160000 index 0000000..1f4601e --- /dev/null +++ b/dotfiles/zprezto @@ -0,0 +1 @@ +Subproject commit 1f4601e44c989b90dc7314b151891fa60a101251 diff --git a/install.sh b/install.sh index c5b9978..6e73334 100755 --- a/install.sh +++ b/install.sh @@ -40,7 +40,6 @@ prerequisites() { esac ;; esac - install_git --recursive https://github.com/sorin-ionescu/prezto.git $HOME/.zprezto else echo "ZSH not found!" >&2 fi @@ -313,7 +312,7 @@ install_dotfiles() { } install_main() { - git -C ${BASEDIR} submodule update --init + git -C ${BASEDIR} submodule update --init --recursive test $MINIMAL = 1 || prerequisites test $INSTALL_PKGS = 1 && is_deb_system && install_apt_pkgs install_dotfiles