1
0
chezmoi/home/.chezmoiscripts/run_onchange_80-install-lvim.sh

16 lines
394 B
Bash
Raw Normal View History

2024-01-20 21:50:27 +00:00
#!/usr/bin/env bash
set -euxo pipefail
if [ ! $(command -v nvim) ]; then
{{- if ne .chezmoi.username "root" }}
sudo yay -S --noconfirm neovim python-pynvim
{{- else }}
yay -S --noconfirm neovim python-pynvim
{{- end }}
fi
2024-01-06 22:09:43 +00:00
LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)