Skip to content

Commit

Permalink
aptitude: add some option arg (non)completions
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Mar 22, 2020
1 parent 27219f8 commit 826b333
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions completions/aptitude
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ _aptitude()
_filedir
return
;;
--display-format|--width|-!(-*)[wFo])
return
;;
--sort|-!(-*)O)
COMPREPLY=( $(compgen -W 'installsize installsizechange debsize
name priority version' -- "$cur") )
return
;;
--target-release|--default-release|-!(-*)t)
COMPREPLY=( $(apt-cache policy | \
command grep "release.o=Debian,a=$cur" | \
Expand Down

0 comments on commit 826b333

Please sign in to comment.