[GH-ISSUE #386] --only-file displays full paths even without --full-paths #173

Closed
opened 2026-06-08 11:25:59 +03:00 by zhus · 1 comment
Owner

Originally created by @eatsu on GitHub (Apr 21, 2024).
Original GitHub issue: https://github.com/bootandy/dust/issues/386

First of all, thank you very much for this helpful tool.

I have an issue that --only-file displays full paths even without --full-paths, like this:

$ dust --only-file /path/to/target-dir
...   ┌── /path/to/target-dir/foo         ...
...   ├── /path/to/target-dir/sub-dir/bar ...
... ┌─┴ /path/to/target-dir               ...

It would be nice if it could display the shortened, relative paths by default, like this:

$ dust --only-file /path/to/target-dir
...   ┌── foo         ...
...   ├── sub-dir/bar ...
... ┌─┴ target-dir    ...

I'm using Dust 1.0.0 on Arch Linux.

Originally created by @eatsu on GitHub (Apr 21, 2024). Original GitHub issue: https://github.com/bootandy/dust/issues/386 First of all, thank you very much for this helpful tool. I have an issue that `--only-file` displays full paths even without `--full-paths`, like this: ```console $ dust --only-file /path/to/target-dir ... ┌── /path/to/target-dir/foo ... ... ├── /path/to/target-dir/sub-dir/bar ... ... ┌─┴ /path/to/target-dir ... ``` It would be nice if it could display the shortened, relative paths by default, like this: ```console $ dust --only-file /path/to/target-dir ... ┌── foo ... ... ├── sub-dir/bar ... ... ┌─┴ target-dir ... ``` I'm using Dust 1.0.0 on Arch Linux.
zhus closed this issue 2026-06-08 11:25:59 +03:00
Author
Owner

@bootandy commented on GitHub (Apr 21, 2024):

That's a good point, I'll look into this.

<!-- gh-comment-id:2067986020 --> @bootandy commented on GitHub (Apr 21, 2024): That's a good point, I'll look into this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#173