Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new definition of special paths #817

Merged
merged 1 commit into from
Jan 13, 2024
Merged

new definition of special paths #817

merged 1 commit into from
Jan 13, 2024

Conversation

Canop
Copy link
Owner

@Canop Canop commented Jan 8, 2024

A special paths entry is defined by 3 parameters: show, list, and sum.
Each of them can be default, always, or never.

Example configuration:

special_paths: {
    "/media" : {
        list: "never"
        sum: "never"
    }
    "~/.config": { "show": "always" }
    "trav": {
        show: always
        list: "always",
        sum: "never"
    }
    "~/useless": { "show": "never" }
    "~/my-link-I-want-to-explore": { "list": "always" }
}

Fix #687
Fix #669

@Canop Canop merged commit 9fec985 into main Jan 13, 2024
1 check passed
@Canop Canop deleted the special-handling branch January 13, 2024 15:30
JonasLeonhard pushed a commit to JonasLeonhard/broot that referenced this pull request Jan 18, 2024
A special paths entry is defined by 3 parameters: `show`, `list`, and `sum`.
Each of them can be `default`, `always`, or `never`.

Example configuration:

```Hjson
special_paths: {
    "/media" : {
        list: "never"
        sum: "never"
    }
    "~/.config": { "show": "always" }
    "trav": {
        show: always
        list: "always",
        sum: "never"
    }
    "~/useless": { "show": "never" }
    "~/my-link-I-want-to-explore": { "list": "always" }
}
```


Fix Canop#687
Fix Canop#669
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redefine special paths handling (discussion) Show all folders in --whale-spotting mode
1 participant