config: updates regarding reflector

This commit is contained in:
xeruf 2021-12-23 20:05:00 +01:00
parent 026e44ebee
commit 659f5f0200
2 changed files with 3 additions and 2 deletions

View File

@ -79,7 +79,8 @@ if test -f /etc/pacman.conf; then
echo "--save /etc/pacman.d/mirrorlist
--protocol https
--country Germany
--latest 20
--latest 50
--score 10
--sort rate" | sudo tee /etc/xdg/reflector/reflector.conf
sudo systemctl start reflector &
sudo systemctl enable reflector.timer

View File

@ -9,7 +9,7 @@ case $1 in
info --vi-keys "$(test "$last" != zsh && echo "--index-search=$last")" zsh ||
LESS="$LESS +/^ *$last *\\[" man zshall;;
(vlc) unbuffer vlc --full-help "${@:2}" | $paginate;;
(gh|chordpro|bat) unbuffer "$@" --help | $paginate;;
(gh|chordpro|bat|reflector) unbuffer "$@" --help | $paginate;;
(plantuml) unbuffer "$@" -help | $paginate;;
(caddy|stretchly|go) "$1" help "${@:2}" | $paginate;;
(kdeconnect*) kdeconnect-cli --help-all "${@:2}" | $paginate;;