install.sh: Do shallow clone for packer.nvim
This commit is contained in:
parent
484751c422
commit
c38c4ec0cf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue