Only shallow copy submodules when installing

This commit is contained in:
2020-08-04 03:16:47 +02:00
parent f5259b5505
commit 27ec9790c4

View File

@@ -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: