fixed neovim clone time

This commit is contained in:
pika 2025-05-11 12:45:59 +02:00
parent 8b50c3ef26
commit 218d1c89f9

View file

@ -60,7 +60,7 @@
cd $cloneDir || mkdir $cloneDir && cd $cloneDir cd $cloneDir || mkdir $cloneDir && cd $cloneDir
if command_exists git; then if command_exists git; then
if git clone https://github.com/neovim/neovim.git; then if git clone --depth=1 https://github.com/neovim/neovim.git; then
cd neovim || echo_error "Cannot navigate into neovim" cd neovim || echo_error "Cannot navigate into neovim"
else else
echo_error "Cannot clone the repo.." echo_error "Cannot clone the repo.."