mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
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
1 changed files with 9 additions and 0 deletions
|
@ -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 a new issue