From c38c4ec0cf19a3712e274ae11cd36ffb83b56305 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Tue, 13 Jul 2021 14:13:33 +0530 Subject: [PATCH] install.sh: Do shallow clone for packer.nvim --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 93b25f7..3f3b9e1 100755 --- a/install.sh +++ b/install.sh @@ -39,7 +39,7 @@ _setup_packer() { printf "\n%s\n" "=> Cloning packer.." if "${_GIT}" clone "${_PACKER_REPO_URL}" \ - "${_PACKER_PATH}"; then + "${_PACKER_PATH}" --depth 20; then printf "%s\n" "=> Packer Installed!" else printf "Error: Couldn't clone packer\n"