Use submodule for zprezto.

This commit is contained in:
David Tomaschik
2019-04-16 23:36:57 -07:00
parent 1fcdb910a2
commit cb01867ba6
3 changed files with 5 additions and 2 deletions

3
.gitmodules vendored
View File

@@ -16,3 +16,6 @@
[submodule "dotfiles/vim/pack/matir/start/vim-go"] [submodule "dotfiles/vim/pack/matir/start/vim-go"]
path = dotfiles/vim/pack/matir/start/vim-go path = dotfiles/vim/pack/matir/start/vim-go
url = https://github.com/fatih/vim-go.git url = https://github.com/fatih/vim-go.git
[submodule "dotfiles/zprezto"]
path = dotfiles/zprezto
url = https://github.com/sorin-ionescu/prezto.git

1
dotfiles/zprezto Submodule

Submodule dotfiles/zprezto added at 1f4601e44c

View File

@@ -40,7 +40,6 @@ prerequisites() {
esac esac
;; ;;
esac esac
install_git --recursive https://github.com/sorin-ionescu/prezto.git $HOME/.zprezto
else else
echo "ZSH not found!" >&2 echo "ZSH not found!" >&2
fi fi
@@ -313,7 +312,7 @@ install_dotfiles() {
} }
install_main() { install_main() {
git -C ${BASEDIR} submodule update --init git -C ${BASEDIR} submodule update --init --recursive
test $MINIMAL = 1 || prerequisites test $MINIMAL = 1 || prerequisites
test $INSTALL_PKGS = 1 && is_deb_system && install_apt_pkgs test $INSTALL_PKGS = 1 && is_deb_system && install_apt_pkgs
install_dotfiles install_dotfiles