fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
e9bf8b9a4
master
1complete -c reflector -f 2# options 3complete -c reflector -s h -l help -d'Show help' 4complete -c reflector -l connection-timeout -d'The number of seconds to wait before a connection times out' 5complete -c reflector -l download-timeout -d'The number of seconds to wait before a download times out' 6complete -c reflector -l list-countries -d'Display a table of the distribution of servers by country' 7complete -c reflector -l cache-timeout -d'The cache timeout in seconds for the data retrieved from the Arch Linux Mirror Status API' 8complete -c reflector -l url -d'The URL from which to retrieve the mirror data in JSON format' 9complete -c reflector -l save -d'Save the mirrorlist to the given path' 10complete -c reflector -l sort -d'Sort the mirrorlist' -xa'age rate country score delay' 11complete -c reflector -l threads -d'The number of threads to use for downloading' 12complete -c reflector -l verbose -d'Print extra information' 13complete -c reflector -l info -d'Print mirror information instead of a mirror list' 14 15# filters 16complete -c reflector -s a -l age -d'Only return mirrors that have synchronized in the last n hours' 17complete -c reflector -l delay -d'Only return mirrors with a reported sync delay of n hours or less, where n is a float' 18complete -c reflector -s c -l country -d'Restrict mirrors to selected countries' -xa"(reflector --list-countries | cut -f 1 -d ' ' | tail -n +3)" 19complete -c reflector -s f -l fastest -d'Return the n fastest mirrors that meet the other criteria' 20complete -c reflector -s i -l include -d'Include servers that match <regex>' 21complete -c reflector -s x -l exclude -d'Exclude servers that match <regex>' 22complete -c reflector -s l -l latest -d'Limit the list to the n most recently synchronized servers' 23complete -c reflector -l score -d'Limit the list to the n servers with the highest score' 24complete -c reflector -s n -l number -d'Return at most n mirrors' 25complete -c reflector -s p -l protocol -d'Match one of the given protocols' -xa'http https ftp rsync' 26complete -c reflector -l completion-percent -d'Set the minimum completion percent for the returned mirrors' 27complete -c reflector -l isos -d'Only return mirrors that host ISOs' 28complete -c reflector -l ipv4 -d'Only return mirrors that support IPv4' 29complete -c reflector -l ipv6 -d'Only return mirrors that support IPv6'