elvish_config/aliases/upd.elv

7 lines
85 B
Plaintext

edit:add-var upd~ {|@args|
if ?(mirror-check --fast) {
doas pacman -Syu
}
}