Compare commits

...

2 commits

Author SHA1 Message Date
Tony Blyler
d5182d4a7c Add Flatpak to upgrade_system 2021-12-16 09:47:24 -05:00
Tony Blyler
2146a3e797 update nvim upgrade command to use Paq 2021-12-16 09:45:54 -05:00

View file

@ -13,6 +13,11 @@ upgrade_system() {
;;
'linux')
# Flatpak (could be just about any distro)
if command -v flatpak &> /dev/null; then
flatpak update
fi
# Debian/Ubuntu
if command -v apt &> /dev/null; then
sudo sh -c 'apt update && apt upgrade'
@ -32,9 +37,8 @@ upgrade_system() {
;;
esac
if command -v vim &> /dev/null; then
vim -c 'PlugUpgrade | q'
vim -c 'PlugUpdate | sleep 3 | qa'
if command -v nvim &> /dev/null; then
nvim -c 'PaqSync' -c 'sleep 5' -c 'qa'
fi
(