From 25aa9cf364775086ff285f1291dc1644fc9920b4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 12 Apr 2022 20:26:23 +0200 Subject: feat(setup): add setup shell script --- setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..ab86f04 --- /dev/null +++ b/setup.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +which nvim >/dev/null 2>&1 || echo "Neovim not installed!" && exit 1 +which luarocks >/dev/null 2>&1 || echo "Luarocks not installed!" && exit 1 +luarocks list | grep "fennel" || echo "fennel is not installed" && exit 1 + +nvim --headless +qa && nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync" -- cgit v1.2.3-70-g09d2