mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Create autocompletion for dpkg-reconfigure
The dpkg-reconfigure command is used on Debian and Ubuntu based systems to reconfigure packages. According to the relevant manpage's the commited completion file should be complete.
This commit is contained in:
parent
b9b66791c1
commit
72e687296b
14
share/completions/dpkg-reconfigure.fish
Normal file
14
share/completions/dpkg-reconfigure.fish
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Completions for the `dpkg-reconfigure` command
|
||||
|
||||
complete -f -c dpkg-reconfigure -a '(__fish_print_packages)' --description 'Package'
|
||||
|
||||
# Support flags
|
||||
complete -x -f -c dpkg-reconfigure -s h -l help --description 'Display help'
|
||||
|
||||
# General options
|
||||
complete -f -c dpkg-reconfigure -s f -l frontend -r -a "dialog readline noninteractive gnome kde editor web" --description 'Set configuration frontend'
|
||||
complete -f -c dpkg-reconfigure -s p -l priority -r -a "low medium high critical" --description 'Set priority threshold'
|
||||
complete -f -c dpkg-reconfigure -l default-priority --description 'Use default priority threshold'
|
||||
complete -f -c dpkg-reconfigure -s u -l unseen-only --description 'Show only unseen question'
|
||||
complete -f -c dpkg-reconfigure -l force --description 'Reconfigure also inconsistent packages'
|
||||
complete -f -c dpkg-reconfigure -l no-reload --description 'Prevent reloading templates'
|
Loading…
Reference in New Issue
Block a user