install.sh: Do shallow clone for packer.nvim

This commit is contained in:
Akianonymus 2021-07-13 14:13:33 +05:30
parent 484751c422
commit c38c4ec0cf
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ _setup_packer() {
printf "\n%s\n" "=> Cloning packer.." printf "\n%s\n" "=> Cloning packer.."
if "${_GIT}" clone "${_PACKER_REPO_URL}" \ if "${_GIT}" clone "${_PACKER_REPO_URL}" \
"${_PACKER_PATH}"; then "${_PACKER_PATH}" --depth 20; then
printf "%s\n" "=> Packer Installed!" printf "%s\n" "=> Packer Installed!"
else else
printf "Error: Couldn't clone packer\n" printf "Error: Couldn't clone packer\n"