Up.
This commit is contained in:
parent
27aa0bc9ca
commit
de16b0a371
@ -30,11 +30,11 @@ packages=(
|
||||
## Install yay
|
||||
if [ ! $(command -v yay) ]; then
|
||||
echo "installing yay"
|
||||
{{- if ne .chezmoi.username "root" }}
|
||||
sudo pacman -S --needed --noconfirm git base-devel
|
||||
{{- else}}
|
||||
pacman -S --needed --noconfirm git base-devel
|
||||
{{- end }}
|
||||
{{- if ne .chezmoi.username "root" }}
|
||||
sudo pacman -S --needed --noconfirm git base-devel
|
||||
{{- else}}
|
||||
pacman -S --needed --noconfirm git base-devel
|
||||
{{- end }}
|
||||
git clone https://aur.archlinux.org/yay.git /tmp/yay
|
||||
cd /tmp/yay
|
||||
makepkg -si --noconfirm
|
||||
@ -46,7 +46,7 @@ packages=(
|
||||
if [ "$(yay -Qq $package 2> /dev/null)" != $package ]; then
|
||||
echo "installing ${package}..."
|
||||
|
||||
{{- if ne .chezmoi.username "root" }}
|
||||
{{- if ne .chezmoi.username "root" }}
|
||||
sudo yay -S --noconfirm $package
|
||||
{{- else }}
|
||||
yay -S --noconfirm $package
|
||||
|
@ -56,4 +56,6 @@ echo -e "\033[0;32m>>>>> Begin LVim installation <<<<<\033[0m"
|
||||
|
||||
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')
|
||||
|
||||
~/.local/bin/lvim +LvimCacheReset +q
|
||||
|
||||
echo -e "\033[0;32m>>>>> Finish LVim installation <<<<<\033[0m"
|
||||
|
Loading…
Reference in New Issue
Block a user