Commit graph

858 commits

Author SHA1 Message Date
Sophie Tauchert
1107a259b3 Change order of flag parsing to arg -> env -> config 2021-01-14 22:24:26 +05:30
Sophie Tauchert
57f958e35e Update CHANGELOG 2021-01-14 22:24:26 +05:30
Sophie Tauchert
bc117cfee0 Fix error message for compatibility with previous version 2021-01-14 22:24:26 +05:30
Sophie Tauchert
ac91205932 Use serial test for environment variable tests 2021-01-14 22:24:26 +05:30
Sophie Tauchert
14a17f459f Use chrono crate instead of time, fix date time formatting 2021-01-14 22:24:26 +05:30
Sophie Tauchert
6a4bde88f6 Update CHANGELOG 2021-01-14 22:24:26 +05:30
Sophie Tauchert
13ab690b18 Implement parsing date format from TIME_STYLE environment 2021-01-14 22:24:26 +05:30
Finn Hediger
572c43f329 Fix formatting 2021-01-14 14:21:44 +05:30
Finn Hediger
5604942dab Add a custom test case for the icon_separator 2021-01-14 14:21:44 +05:30
Finn Hediger
2341e20a1c Add example for separator to example config 2021-01-14 14:21:44 +05:30
Finn Hediger
fc5a1b5da6 Remove forgotten comments 2021-01-14 14:21:44 +05:30
Finn Hediger
7d5acedc20 Change name 'spacing' to 'separator' 2021-01-14 14:21:44 +05:30
Finn Hediger
d5df13acd6 Remove unnecessary comment 2021-01-14 14:21:44 +05:30
Finn Hediger
e669c76c87 Add simple test for IconSpacing 2021-01-14 14:21:44 +05:30
Finn Hediger
9e11a38f66 Remove --icon-spacing cli flag 2021-01-14 14:21:44 +05:30
Finn Hediger
f1ee37e805 Fix copied comments of the IconSpacing methods 2021-01-14 14:21:44 +05:30
Finn Hediger
1a8d72d079 Update CHANGELOG to feature support for changing icon spacing 2021-01-14 14:21:44 +05:30
Finn Hediger
8b9e281200 Update tests 2021-01-14 14:21:44 +05:30
Finn Hediger
9ef64deff0 Remove unused ICON_SPACING 2021-01-14 14:21:44 +05:30
Finn Hediger
10d4585492 Fix test by appending " ".to_string() to Icons::new calls 2021-01-14 14:21:44 +05:30
Finn Hediger
55c2692a63 Add --icon-spacing flag and icon.spacing config option
The spacing option takes a string and puts it between the icon and
the name. The default would be one space: " ".
2021-01-14 14:21:44 +05:30
Abin Simon
5b2dbca60d add NetBSD install option in README
http://mail-index.netbsd.org/pkgsrc-changes/2021/01/05/msg226357.html
2021-01-07 18:07:01 +05:30
Abin Simon
c089af22ab respect blocks passed without long from cli
When reading from config, we do not take into consideration the value
of blocks until we pass -l in the cli args, but if the user passes
in blocks via the cli, the -l flag is implied.
2021-01-01 13:26:06 +05:30
Abin Simon
e3649fede8 add pull request template 2020-12-13 11:50:17 +05:30
Abin Simon
4a74ea4ef0 prepare changelog for new cycle 2020-12-13 11:42:03 +05:30
Abin Simon
43cd35dceb
Release 0.19.0 2020-12-13 11:24:41 +05:30
Abin Simon
5ffe67a356 udpate release.toml 2020-12-13 11:20:39 +05:30
Abin Simon
d8a991387d update changelog entries 2020-12-13 11:10:05 +05:30
zwPapEr
f539dffe4d test: 🔍 🔨 make test name more clear, add reverse sort false
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
7efe3aa36e config: 🔨 🎨 update code consistency due to review
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
9b237bbf9e log: 📝 unique error output and update comment to fit config 2020-12-13 10:43:03 +05:30
zwPapEr
cf9030cdf7 config: 🔨 using target enum and vec string for config options
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
3ef4ec6e81 test: 🔍 add glob add sorting test
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
c8eddf6e2b config: 🔨 print error when config file error 2020-12-13 10:43:03 +05:30
zwPapEr
da99c70af6 test/flags: 🔍 🔨 update tests to fit serde yaml change
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
aca34d9e25 config,flag: 🔨 refactor flag using serd yaml config 2020-12-13 10:43:03 +05:30
zwPapEr
e4d8d85678 config file: 🔨 uniq file and serde yaml parsing 2020-12-13 10:43:03 +05:30
zwPapEr
0e8ae256b5 config: 🔨 refactor read config by name 2020-12-13 10:43:03 +05:30
AJ ONeal
760d5c7538 add tree test 2020-12-11 16:43:45 +05:30
AJ ONeal
1cdef5fe96 use existing display and layout 2020-12-11 16:43:45 +05:30
AJ ONeal
42c3c8ca62 don't follow symlinks with tree -d 2020-12-11 16:43:45 +05:30
Jay
c67c639327 Implement lsd --tree -d
This commit implements the `-d` option in combination with `--tree` to mimic `tree -d` behaviour. There are also changes to the behaviour of `--tree` and `-R` such that they follow the same behaviour as `tree -d` and `ls -R` i.e. not follwoing symlinked directories unless the `-L` flag is specified.
2020-12-11 16:43:45 +05:30
Peter Stewart
b6bd1d3b55 Apply suggestions from code review
Co-authored-by: Abin Simon <abinsimon10@gmail.com>
2020-11-09 12:19:41 +05:30
Peter Stewart
68cd59840e Add tests for icons 2020-11-09 12:19:41 +05:30
Peter Stewart
3439e1d735 Make all known filenames & extensions lower-case and always match by lower-cased name 2020-11-09 12:19:41 +05:30
Peter Stewart
9435de8f78 Fix comments 2020-11-09 12:19:41 +05:30
Peter Stewart
d2094af48b Fix formatting issues 2020-11-09 12:19:41 +05:30
Peter Stewart
d774de41a0 Add case-insensitive matching of known filenames and extensions 2020-11-09 12:19:41 +05:30
George Plymale II
7f687a8ad4 add macports as installation option on macOS 2020-11-04 11:18:10 +05:30
VentGrey
0d51c7e1b9 Added space to comply with CI/CD styling 2020-11-04 11:14:27 +05:30