mirror of
https://github.com/bootandy/dust.git
synced 2026-10-12 02:11:34 +00:00
Most configuration options that could be specified on the command line existed in the config file, but `limit-filesystem` was absent. Mirrors the existing patterns to add this support, along with minimal documentation changes. Adds a helpful link for new users to the sample config file as well in the README.md
37 lines
773 B
TOML
37 lines
773 B
TOML
# Sample Config file, works with toml and yaml
|
|
# Place in either:
|
|
# ~/.config/dust/config.toml
|
|
# ~/.dust.toml
|
|
|
|
# Print tree upside down (biggest highest)
|
|
reverse=true
|
|
|
|
# Subdirectories will not have their path shortened
|
|
display-full-paths=true
|
|
|
|
# Use file length instead of blocks
|
|
display-apparent-size=true
|
|
|
|
# No colors will be printed
|
|
no-colors=true
|
|
|
|
# No percent bars or percentages will be displayed
|
|
no-bars=true
|
|
|
|
# No total row will be displayed
|
|
skip-total=true
|
|
|
|
# Do not display hidden files
|
|
ignore-hidden=true
|
|
|
|
# Only count files and directories on the same filesystem as the supplied directory
|
|
limit-filesystem=true
|
|
|
|
# print sizes in powers of 1000 (e.g., 1.1G)
|
|
output-format="si"
|
|
|
|
number-of-lines=5
|
|
|
|
# To keep the .git directory collapsed
|
|
collapse=[".git"]
|