feat: kvm and other small fixes

This commit is contained in:
Klesh Wong 2021-08-28 17:55:01 +08:00
parent 8ab66e607c
commit e5f8b80b7b
4 changed files with 11 additions and 1 deletions

View File

@ -44,6 +44,7 @@ if ! has_cmd "$VIM"; then
sudo pacman -S --noconfirm --needed vim sudo pacman -S --noconfirm --needed vim
if enhance_vim; then if enhance_vim; then
sudo pip install pyvim sudo pip install pyvim
sudo pacman -S clang
fi fi
;; ;;
esac esac

View File

@ -25,3 +25,9 @@ fi
if enhance_vim; then if enhance_vim; then
v -c "CocInstall -sync coc-go|qall" v -c "CocInstall -sync coc-go|qall"
fi fi
# air for autoreload webapp
echo Download air for autoreload webapp
echo https://github.com/cosmtrek/air/releases/latest
echo and store to ~/go/bin

View File

@ -43,8 +43,12 @@ case "$PM" in
;; ;;
pacman) pacman)
# TODO # TODO
sudo pacman -S --noconfirm --needed \
qemu libvirt virt-manager
;; ;;
esac esac
# configuration # configuration
sudo usermod -aG libvirt "$USER" sudo usermod -aG libvirt "$USER"
echo install [spice-guest-tools] on guest os for auto resolution adjustment

View File

@ -30,7 +30,6 @@ case "$PM" in
fi fi
;; ;;
pacman) pacman)
# TODO
sudo pacman -S --noconfirm --needed \ sudo pacman -S --noconfirm --needed \
go \ go \
browserpass browserpass