mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:03:41 +08:00
[apt] Add --with-new-pkgs completion
[ci skip]
This commit is contained in:
parent
8008dfda1e
commit
533957fc2e
|
@ -24,6 +24,8 @@ complete -c apt -n "__fish_seen_subcommand_from $installed_pkg_subcmds" -a '(__f
|
|||
complete -k -c apt -n "__fish_seen_subcommand_from $handle_file_pkg_subcmds" -a '(__fish_complete_suffix .deb)'
|
||||
|
||||
complete -c apt -n "__fish_seen_subcommand_from install" -l no-install-recommends
|
||||
# This advanced flag is the safest way to upgrade packages that otherwise would have been kept back
|
||||
complete -c apt -n "__fish_seen_subcommand_from upgrade" -l with-new-pkgs
|
||||
|
||||
# Support flags
|
||||
complete -f -c apt -s h -l help -d 'Display help'
|
||||
|
|
Loading…
Reference in New Issue
Block a user