This commit is contained in:
Charles-Pierre Astolfi 2014-04-14 22:00:49 -04:00
commit a27af0415e
111 changed files with 3813 additions and 944 deletions

View file

@ -21,8 +21,8 @@ fi
# Aliases ###################################################################
# These are for more obscure uses of apt-get and aptitude that aren't covered
# below.
alias ag='apt-get'
alias ap='aptitude'
alias age='apt-get'
alias api='aptitude'
# Some self-explanatory aliases
alias acs="apt-cache search"
@ -217,3 +217,11 @@ kerndeb () {
"$revision" kernel_image kernel_headers
}
# List packages by size
function apt-list-packages {
dpkg-query -W --showformat='${Installed-Size} ${Package} ${Status}\n' | \
grep -v deinstall | \
sort -n | \
awk '{print $1" "$2}'
}