Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
81d53af9
Commit
81d53af9
authored
Mar 16, 2014
by
Robby Russell
Browse files
Merge pull request #2597 from githubhjs/master
List pkgs by size
parents
12415a99
ae2f6f34
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/debian/debian.plugin.zsh
View file @
81d53af9
...
@@ -217,3 +217,11 @@ kerndeb () {
...
@@ -217,3 +217,11 @@ kerndeb () {
"
$revision
"
kernel_image kernel_headers
"
$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}'
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment