dotfiles/.config/fish/functions/update-mirrors.fish

4 lines
368 B
Fish

function update-mirrors --wraps='reflector --age 12 --number 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist' --description 'alias update-mirrors=reflector --age 12 --number 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
reflector --age 12 --number 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist $argv
end