From 27ec9790c492348603409dec570a05c3afdb96cb Mon Sep 17 00:00:00 2001 From: druckdev <63563978+druckdev@users.noreply.github.com> Date: Tue, 4 Aug 2020 03:16:47 +0200 Subject: [PATCH] Only shallow copy submodules when installing --- install.conf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.conf.yaml b/install.conf.yaml index 5aa4be6..5b4af90 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -1,5 +1,5 @@ - shell: - - git submodule update --init --recursive --jobs 8 + - git submodule update --init --recursive --jobs 8 --depth 1 - /bin/sh -c 'tmpd="$(mktemp -d)"; for file in .config/*; do [ ! -e "$HOME/$file" ] || mv "$HOME/$file" "$tmpd"; done; rmdir "$tmpd" 2>/dev/null || { tar czvf "existing-$(date +"%s").tar.gz" "$tmpd" && rm -rf "$tmpd"; }' - .config/zsh/plugins/fzf/install --bin - link: