]> git.rmz.io Git - dotfiles.git/commitdiff
zsh/aliases: pacdisowned ignores local
authorSamir Benmendil <samir.benmendil@gmail.com>
Wed, 29 Jan 2014 18:33:38 +0000 (19:33 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Wed, 29 Jan 2014 18:33:38 +0000 (19:33 +0100)
zsh/aliases/pacman.zsh

index a631edb4654ceabbf0b3888d0997503d2219c5de..4f662dbabcc3cb7f14df40b4836b4cd1d086c7b2 100644 (file)
@@ -47,7 +47,7 @@ pacdisowned() {
   pacman -Qlq | sort -u > "$db"
 
   find /bin /etc /lib /sbin /usr \
-      ! -name lost+found \
+      ! \( -name lost+found -o -name local \) \
         \( -type d -printf '%p/\n' -o -print \) | sort > "$fs"
 
   comm -23 "$fs" "$db"