elvish_config/aliases/pacman.elv

8 lines
177 B
Plaintext
Raw Permalink Normal View History

2024-06-16 10:18:51 +00:00
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
}
}