Commit 7cea8475 authored by Juanra Núñez's avatar Juanra Núñez Committed by Robby Russell
Browse files

Added aliases for listing packages (#6374)

Added 'agli' to list all installed packages.
Added 'aglu' to list available updates only.
parent 2c87f85a
...@@ -21,7 +21,16 @@ compdef _ags ags='apt-get source' ...@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment