Skip to content

Commit 3e89ce2

Browse files
committed
feat: exclude ~/.cache and ~/.bundle/cache by default
Replace specific ~/.cache/nix and ~/.cache/node entries with ~/.cache as a whole since the entire XDG cache directory is regenerable. Add ~/.bundle/cache for Bundler gem cache.
1 parent dfca6e7 commit 3e89ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ pub fn builtin_exclude_paths() -> Vec<&'static str> {
7070
"~/.deno",
7171
"~/.yarn",
7272
"~/.npm-global",
73-
"~/.cache/node",
73+
"~/.bundle/cache",
74+
"~/.cache",
7475
// Homebrew
7576
"/opt/homebrew",
7677
// Nix / Devbox
7778
"/nix",
78-
"~/.cache/nix",
7979
"~/.local/share/devbox",
8080
// Docker / Colima
8181
"~/Library/Containers/com.docker.docker",

0 commit comments

Comments
 (0)