1
0
chezmoi/home/.chezmoiscripts/run_onchange_80-install-lvim.sh
2024-01-20 22:50:27 +01:00

16 lines
394 B
Bash

#!/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
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)