mirror of
https://github.com/tw93/Mole.git
synced 2026-02-11 08:19:18 +00:00
docs: simplify purge config section with collapsible details
This commit is contained in:
14
README.md
14
README.md
@@ -202,14 +202,10 @@ Select Categories to Clean - 18.5GB (8 selected)
|
|||||||
|
|
||||||
> **Use with caution:** This will permanently delete selected artifacts. Review carefully before confirming. Recent projects (< 7 days) are marked and unselected by default.
|
> **Use with caution:** This will permanently delete selected artifacts. Review carefully before confirming. Recent projects (< 7 days) are marked and unselected by default.
|
||||||
|
|
||||||
#### Configuration
|
<details>
|
||||||
|
<summary><strong>Custom Scan Paths</strong></summary>
|
||||||
|
|
||||||
You can configure which directories `mole` scans for projects by creating a config file:
|
Create `~/.config/mole/purge_paths` to specify custom directories (one per line, supports `~`):
|
||||||
|
|
||||||
1. Create `~/.config/mole/purge_paths`
|
|
||||||
2. Add one directory path per line (supports `~`)
|
|
||||||
|
|
||||||
Example `~/.config/mole/purge_paths`:
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
~/Documents/MyProjects
|
~/Documents/MyProjects
|
||||||
@@ -217,7 +213,9 @@ Example `~/.config/mole/purge_paths`:
|
|||||||
~/Work/ClientB
|
~/Work/ClientB
|
||||||
```
|
```
|
||||||
|
|
||||||
If this file exists, `mole` will *only* scan the paths listed in it. If not, it uses the default paths (`~/Projects`, `~/GitHub`, `~/dev`, etc.).
|
When this file exists, only listed paths are scanned. Otherwise, defaults to `~/Projects`, `~/GitHub`, `~/dev`, etc.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## Quick Launchers
|
## Quick Launchers
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user