Added aliases for listing packages (#6374)
Added 'agli' to list all installed packages. Added 'aglu' to list available updates only.
This commit is contained in:
parent
2c87f85ad5
commit
7cea8475fb
@ -21,7 +21,16 @@ compdef _ags ags='apt-get source'
|
|||||||
alias acp='apt-cache policy' # app
|
alias acp='apt-cache policy' # app
|
||||||
compdef _acp acp='apt-cache policy'
|
compdef _acp acp='apt-cache policy'
|
||||||
|
|
||||||
|
#List all installed packages
|
||||||
|
alias agli='apt list --installed'
|
||||||
|
compdef _agli agli='apt list --installed'
|
||||||
|
|
||||||
# superuser operations ######################################################
|
# superuser operations ######################################################
|
||||||
|
|
||||||
|
# List available updates only
|
||||||
|
alias aglu='sudo apt-get -u upgrade --assume-no'
|
||||||
|
compdef _aglu aglu='sudo apt-get -u upgrade --assume-no'
|
||||||
|
|
||||||
alias afu='sudo apt-file update'
|
alias afu='sudo apt-file update'
|
||||||
compdef _afu afu='sudo apt-file update'
|
compdef _afu afu='sudo apt-file update'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user