Skip to content

Commit b77a14c

Browse files
committed
feat(updatedb): ignore /home/ncaq/.local/state
CabalがこのPRからxdgのcache dirだけではなくstate dirを使うようになりました。 [Adopt XDG Base Directory Specification by athas · Pull Request #7386 · haskell/cabal](haskell/cabal#7386) コンパイル済みのバイナリが入るとかの用途なら`plocate`で見る必要は無いと思うのでインデックスから除外します。m
1 parent c99ab13 commit b77a14c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/etc/updatedb.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
PRUNEFS="afs anon_inodefs auto autofs bdev binfmt binfmt_misc cgroup cifs coda configfs cramfs cpuset debugfs devfs devpts devtmpfs ecryptfs eventpollfs exofs futexfs ftpfs fuse fusectl gfs gfs2 hostfs hugetlbfs inotifyfs iso9660 jffs2 lustre misc mqueue ncpfs nfs NFS nfs4 nfsd nnpfs ocfs ocfs2 pipefs proc ramfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs spufs sshfs subfs supermount sysfs tmpfs ubifs udf usbfs vboxsf vperfctrfs"
88

99
# Paths which are pruned from updatedb database
10-
PRUNEPATHS="/tmp /var/tmp /var/cache /var/lock /var/run /var/spool /var/db/pkg /home/ncaq/.local/lib"
10+
PRUNEPATHS="/tmp /var/tmp /var/cache /var/lock /var/run /var/spool /var/db/pkg /home/ncaq/.local/lib /home/ncaq/.local/state"
1111

1212
# Folder names that are pruned from updatedb database
1313
PRUNENAMES="$RECYCLE.BIN $Recycle.Bin .Trash .Trash-1000 .bloop .cabal .cache .cargo .dub .gem .ghcup .git .go .hg .julia .metals .npm .pyenv .rbenv .rustup .snapshots .stack .stack-work .stack-work-fast .stack-work-profile .svn CVS Cache Temp Tmp Trash WinSxS __pycache__ _cache _site appcache cache cache2 cached cdk.out dist dist-newstyle dist-packages eln-cache elpy file-backup htmlcache metadata node_modules site-packages steam-runtime target temp texmf-dist tmp undo-tree virtualenv"

0 commit comments

Comments
 (0)