cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 2 months agoWhat's a handy terminal command you use often?message-squaremessage-square236fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squareWhat's a handy terminal command you use often?cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 2 months agomessage-square236fedilink
minus-squareSneezycat@sopuli.xyzlinkfedilinkarrow-up0·2 months agoI just aliased “sudo pacman -Syu && yay -Syu --aur” to “update” cause I got tired of writing it every day.
minus-squareMinFapper@startrek.websitelinkfedilinkEnglisharrow-up0·2 months agoYou can just run yay with no arguments and it does exactly what your update script does.
minus-squareNoxious@fedia.iolinkfedilinkarrow-up0·2 months agoWouldn’t it make more sense to just yay -Syu to update everything, normal packages and AUR packages?
minus-squareSneezycat@sopuli.xyzlinkfedilinkarrow-up0·2 months agoThe reason I did it like this is because: I didn’t know yay could invoke pacman I didn’t want yay “upgrading” my pacman packages with AUR packages. But I was just misunderstanding yay. As another comment said before you, one can just run yay without any arguments and it accomplishes the same thing.
I just aliased “sudo pacman -Syu && yay -Syu --aur” to “update” cause I got tired of writing it every day.
You can just run
yay
with no arguments and it does exactly what your update script does.Huh, the more you know.
Wouldn’t it make more sense to just yay -Syu to update everything, normal packages and AUR packages?
The reason I did it like this is because:
But I was just misunderstanding yay. As another comment said before you, one can just run yay without any arguments and it accomplishes the same thing.