2016-11-03 19:25:39 +08:00
|
|
|
# Completions for the `dpkg-reconfigure` command
|
|
|
|
|
2020-09-23 01:24:04 +08:00
|
|
|
complete -f -c dpkg-reconfigure -a '(__fish_print_apt_packages)' -d Package
|
2016-11-03 19:25:39 +08:00
|
|
|
|
|
|
|
# Support flags
|
2019-05-05 18:53:09 +08:00
|
|
|
complete -x -f -c dpkg-reconfigure -s h -l help -d 'Display help'
|
2016-11-03 19:25:39 +08:00
|
|
|
|
|
|
|
# General options
|
2017-10-12 01:17:35 +08:00
|
|
|
complete -f -c dpkg-reconfigure -s f -l frontend -r -a "dialog readline noninteractive gnome kde editor web" -d 'Set configuration frontend'
|
|
|
|
complete -f -c dpkg-reconfigure -s p -l priority -r -a "low medium high critical" -d 'Set priority threshold'
|
2022-04-21 23:25:17 +08:00
|
|
|
complete -f -c dpkg-reconfigure -l default-priority -d "Use current default ("(echo get debconf/priority | debconf-communicate 2>/dev/null | string match -r '\w+$')") priority threshold"
|
2017-10-12 01:17:35 +08:00
|
|
|
complete -f -c dpkg-reconfigure -s u -l unseen-only -d 'Show only unseen question'
|
|
|
|
complete -f -c dpkg-reconfigure -l force -d 'Reconfigure also inconsistent packages'
|
|
|
|
complete -f -c dpkg-reconfigure -l no-reload -d 'Prevent reloading templates'
|