yaml settings for each flag, or setting the default switches.
Closed this issue · 0 comments
Description
Thanks for opening this issue. Add a brief description of what this issue is, and how to recreate it. Do tag the relevant issue(s) and PR(s) below. If required, add some screenshot(s) to showcase the issue.
- Relevant Issues : (none)
- Relevant PRs : (none)
- Type of issue :
- Installation
- Font-related
- [X ] Feature request
- Bug in existing feature
- Developer mode : Code quality / Tests / Documentation
In config.yaml
can we add options to
- make the -a flag implied
showall : true
or something, so .(dot) files are never ignored.
And slightly more difficult- add an implicit (automatic) --gs
flag, eg a setting in config that if enabled, looks for .git (and perhaps recursing through parent directories as well to check if its a sub folder. And them applying the --gs flag automatically.
In the same vein, it would be nice to have a yaml setting to make all the switches implicit or default.
timesort : false #-t, --timesort
reverse : false # -r --reverse
etc.
And perhaps- and this is iffy- (so thoughts are useful) adding a switch if it is implied, inverts it. so that:
showall : true
and lsd -a
has the effect of not using the -a flag, and hides dot files.