edit:add-var pacman-histo~ {|@argv| e:cat /var/log/pacman.log | e:rg "ALPM" | e:rg $@argv } edit:add-var upd~ {|@args| if ?(mirror-check --fast) { doas pacman -Syu } }