# will only work after another pacman completion has been called first
compdef '_pacman_completions_all_packages' paci=pacman
+pacstat() {
+ LC_ALL=C pacman -Sl | sed -n '/\[installed\]/s/^\([^ ]*\).*/\1/p' | uniq -c
+}
+
pacdisowned() {
tmp=${TMPDIR-/tmp}/pacman-disowned-$UID-$$
db=$tmp/db