diff options
Diffstat (limited to 'nvim')
-rwxr-xr-x | nvim/install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nvim/install.sh b/nvim/install.sh index ea885e1..8d21011 100755 --- a/nvim/install.sh +++ b/nvim/install.sh @@ -1,5 +1,10 @@ #!/bin/sh +if ! command -v "nvim" >/dev/null; then + printf "%s: nvim not found, skipping...\n" "$0" + exit 0 +fi + printf "%s: Restoring plugins\n" "$0" nvim --headless -c 'Lazy! restore' -c qa |