summaryrefslogtreecommitdiff
path: root/plugins/ubuntu/ubuntu.plugin.zsh
diff options
context:
space:
mode:
authorDominic Motuka <dominic.motuka@gmail.com>2016-08-11 03:14:52 +0300
committerMarc Cornellà <marc.cornella@live.com>2016-08-11 02:14:52 +0200
commit4505a438e4829e0335484c08b71244378081d7b7 (patch)
tree3b1be9d85f5658bf85005684ec901e3f9db34351 /plugins/ubuntu/ubuntu.plugin.zsh
parent9772f8e10d07ce982a45fcce9b074e9084ad76cb (diff)
downloadzsh-4505a438e4829e0335484c08b71244378081d7b7.tar.gz
zsh-4505a438e4829e0335484c08b71244378081d7b7.tar.bz2
zsh-4505a438e4829e0335484c08b71244378081d7b7.zip
update alias of get a list of packages installed locally (#5276)
Diffstat (limited to 'plugins/ubuntu/ubuntu.plugin.zsh')
-rw-r--r--plugins/ubuntu/ubuntu.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh
index f08853643..d924f8861 100644
--- a/plugins/ubuntu/ubuntu.plugin.zsh
+++ b/plugins/ubuntu/ubuntu.plugin.zsh
@@ -63,7 +63,7 @@ alias kclean='sudo aptitude remove -P ?and(~i~nlinux-(ima|hea) \
# Misc. #####################################################################
# print all installed packages
-alias allpkgs='aptitude search -F "%p" --disable-columns ~i'
+alias allpkgs='dpkg --get-selections | grep -v deinstall'
# Create a basic .deb package
alias mydeb='time dpkg-buildpackage -rfakeroot -us -uc'