diff --git a/neovim.sh b/neovim.sh index 20ae99a..399443a 100644 --- a/neovim.sh +++ b/neovim.sh @@ -60,7 +60,7 @@ cd $cloneDir || mkdir $cloneDir && cd $cloneDir 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" else echo_error "Cannot clone the repo.."