# erdtree (erd) configuration — /home/lkraven/.config/erdtree/.erdtree.toml # # The top-level table below is the DEFAULT for a bare `erd`. Named tables are # opt-in via `erd -c `. # # Rationale: erd ships as a disk-usage tool — its stock defaults are root-at- # bottom, sorted by size, with a du column. That is a fine `du` replacement but # a surprising `tree`. This config makes the bare invocation behave like GNU # tree (root at top, name-sorted, dirs first, no size column) and moves the # disk-usage behaviour behind `erd -c du`. # # Note: erd respects .gitignore by default. That is kept — it is why listing a # repo is fast and readable. Pass `-i` to ignore .gitignore, `-.` for hidden # files, `-. --no-git` for hidden-but-not-.git. # ---- default: tree-like folder listing ---- layout = "inverted" # root at top, like GNU tree sort = "name" # lexicographic, like GNU tree dir-order = "first" # directories above files suppress-size = true # no disk-usage column no-progress = true # no progress indicator on fast listings # ---- `erd -c du` : the disk-usage mode erd was actually built for ---- [du] layout = "inverted" sort = "rsize" # largest first dir-order = "first" human = true # human-readable byte sizes disk-usage = "physical" # actual blocks on disk # ---- `erd -c all` : everything, nothing hidden or ignored ---- [all] layout = "inverted" sort = "name" dir-order = "first" suppress-size = true no-progress = true hidden = true no-ignore = true