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

Show all folders in --whale-spotting mode #669

Closed
Schweber opened this issue Feb 14, 2023 · 2 comments · Fixed by #817
Closed

Show all folders in --whale-spotting mode #669

Schweber opened this issue Feb 14, 2023 · 2 comments · Fixed by #817
Labels
enhancement New feature or request

Comments

@Schweber
Copy link
Contributor

I've defined several folders as "no-enter", e.g. ~/.local.

However, when launching broot in --whale-spotting mode, i would like to see all folders. I'm not aware of a way to do this and didn't find a flag for it.

Is this already possible and, if not, could this be added as an additional flag? Something like --ignore-special-paths (just an example, i hope you understand what i mean).

@Schweber Schweber added the enhancement New feature or request label Feb 14, 2023
@Canop
Copy link
Owner

Canop commented Feb 14, 2023

I understand what you mean.

It will be hard to satisfy all needs.

Some folders are really not explorable, because they're way too slow.
Some other ones are just not entered because they're simply full of trash.

The real solution might be to add more nuances in the special paths directive, to have a "no enter but of course you enter when it's for computing sizes" and a "no enter, especially not for computing sizes".

@Schweber
Copy link
Contributor Author

The real solution might be to add more nuances in the special paths directive, to have a "no enter but of course you enter when it's for computing sizes" and a "no enter, especially not for computing sizes".

That would be even better. Thank you for considering it!

Canop added a commit that referenced this issue Jan 8, 2024
@Canop Canop closed this as completed in 9fec985 Jan 13, 2024
JonasLeonhard pushed a commit to JonasLeonhard/broot that referenced this issue 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
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants