You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirmed this issue in the current version 1.1.1. The entire config file is ignored if I add certain key/value pairs. In my case, I tried either ~/.dust.toml or ~/.config/dust/config.toml with the same result.
For example, this works:
depth=1
threads=1
reverse=true
no-colors=true
force-colors=true # OK even with no-colors
bars-on-right=true
min-size="100M" # must be string type
screen-reader=true
skip-total=true
ignore-hidden=true # only works with dash, not underscore contrary to --help text
but trying to add any of these key/value pairs causes the entire config file to be ignored:
number-of-lines=5
full-paths=true
ignore-directory=".git"
ignore-all-in-file="dust_ignorefile"
dereference-links=true
limit-filesystem=true
apparent-size=true
no-percent-bars=true
filecount=true
ignore_hidden=true # works if underscore is changed to dash
invert-filter="\.png$"
filter="\.txt$"
file_types=true
terminal_width=80 # still fails if underscore is changed to dash
I stopped 2/3 of the way down the --help list but hopefully this helps with troubleshooting.
Steps to reproduce:
~/.config/dust/config.toml
:dust
~/.config/dust/config.toml
dust
Expected result:
dust
runsdust
prints a warning about an invalid config-file option...ignore-directory
on line 1 of ~/.config/dust/config.toml
Observed result:
The text was updated successfully, but these errors were encountered: