mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Update apt-get completion. Fixes #652.
This commit is contained in:
parent
8bbd8ab073
commit
aa78292c2a
1 changed files with 8 additions and 5 deletions
|
@ -26,23 +26,26 @@ complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'upgrade' --description
|
|||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'dselect-upgrade' --description 'Use with dselect front-end'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'dist-upgrade' --description 'Distro upgrade'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'install' --description 'Install one or more packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'purge' --description 'Remove and purge one or more packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'remove' --description 'Remove one or more packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'source' --description 'Fetch source packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'build-dep' --description 'Install/remove packages for dependencies'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'check' --description 'Update cache and check dependencies'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'clean' --description 'Clean local caches and packages'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'autoclean' --description 'Clean packages no longer be downloaded'
|
||||
complete -f -n '__fish_apt_no_subcommand' -c apt-get -a 'autoremove' --description 'Remove automatically installed packages'
|
||||
complete -c apt-get -l no-install-recommends --description 'Do not install recommended packages'
|
||||
complete -c apt-get -s d -l download-only --description 'Download Only'
|
||||
complete -c apt-get -s f -l fix-broken --description 'Correct broken dependencies'
|
||||
complete -c apt-get -s m -l fix-missing --description 'Ignore missing packages'
|
||||
complete -c apt-get -l no-download --description 'Disable downloading packages'
|
||||
complete -c apt-get -s q -l quiet --description 'Quiet mode'
|
||||
complete -c apt-get -s s -l simulate --description 'Perform a simulation'
|
||||
complete -c apt-get -s y -l assume-yes --description 'Automatic yes to prompts'
|
||||
complete -c apt-get -s s -l simulate -l just-print -l dry-run -l recon -l no-act --description 'Perform a simulation'
|
||||
complete -c apt-get -s y -l yes -l assume-yes --description 'Automatic yes to prompts'
|
||||
complete -c apt-get -s u -l show-upgraded --description 'Show upgraded packages'
|
||||
complete -c apt-get -s V -l verbose-versions --description 'Show full versions for packages'
|
||||
complete -c apt-get -s b -l compile --description 'Compile source packages'
|
||||
complete -c apt-get -s b -l build --description 'Compile source packages'
|
||||
complete -c apt-get -s b -l compile -l build --description 'Compile source packages'
|
||||
complete -c apt-get -l install-recommends --description 'Install recommended packages'
|
||||
complete -c apt-get -l ignore-hold --description 'Ignore package Holds'
|
||||
complete -c apt-get -l no-upgrade --description "Do not upgrade packages"
|
||||
complete -c apt-get -l force-yes --description 'Force yes'
|
||||
|
@ -50,7 +53,7 @@ complete -c apt-get -l print-uris --description 'Print the URIs'
|
|||
complete -c apt-get -l purge --description 'Use purge instead of remove'
|
||||
complete -c apt-get -l reinstall --description 'Reinstall packages'
|
||||
complete -c apt-get -l list-cleanup --description 'Erase obsolete files'
|
||||
complete -c apt-get -s t -l target-release --description 'Control default input to the policy engine'
|
||||
complete -c apt-get -s t -l target-release -l default-release --description 'Control default input to the policy engine'
|
||||
complete -c apt-get -l trivial-only --description 'Only perform operations that are trivial'
|
||||
complete -c apt-get -l no-remove --description 'Abort if any packages are to be removed'
|
||||
complete -c apt-get -l only-source --description 'Only accept source packages'
|
||||
|
|
Loading…
Reference in a new issue