summaryrefslogtreecommitdiff
path: root/install.sh
blob: ae9cdacf8fc1b816f929b97dcbd3d33c36641923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# Check dependencies
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" >/dev/null 2>&1 ||
(echo "fennel is not installed" && exit 1)

# Bootstrap installment
nvim --headless +qa &&
nvim --headless -c "autocmd User PackerComplete quitall"