install.sh: Do shallow clone for packer.nvim

pull/155/head
Akianonymus 3 years ago
parent 484751c422
commit c38c4ec0cf

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

Loading…
Cancel
Save