eza
eza copied to clipboard
feat: allow globs to specify paths
So the easiest way to explain this is with node_modules. Let's say you wanna run eza --tree --ignore-glob "**/node_modules/*" to still see the node modules folder, but not not all of the files within node_modules. It'd look something like this:
backend
├── node_modules
├── package-lock.json
├── package.json
├── README.md
├── src
│ └── index.ts
└── tsconfig.json
However in v0.20.11 [+git] globs are still only on a single file only kind of basis. So eza --tree --ignore-glob "**/node_modules/*" would print out the node_modules folder, and it's contents. Running eza --tree --ignore-glob "node_modules" does remove the node_modules, but that's also not ideal as it's now not displayed at all.