summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.sh7
1 files changed, 7 insertions, 0 deletions
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"