summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-30 18:30:21 +0200
committeraktersnurra <grydholm@kth.se>2022-04-30 18:30:21 +0200
commitabd98cb0f461b4e102e40918954fd9f6b5e91f54 (patch)
tree1384861d8c124ea6531cf16711a5aa94420344a9
parenteb6fc2918c837e3ab12f8cea7bc23112dc6debed (diff)
fix(install script): remove intermediate output
-rwxr-xr-xinstall.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index ae9cdac..3773b5a 100755
--- a/install.sh
+++ b/install.sh
@@ -9,5 +9,7 @@ luarocks list | grep "fennel" >/dev/null 2>&1 ||
(echo "fennel is not installed" && exit 1)
# Bootstrap installment
-nvim --headless +qa &&
-nvim --headless -c "autocmd User PackerComplete quitall"
+nvim --headless +qa >/dev/null 2>&1 &&
+nvim --headless -c "autocmd User PackerComplete quitall" >/dev/null 2>&1 &&
+echo "Successfully bootstrapped the config!" ||
+(echo "Bootstrapping failed..." && exit 1)