Commit graph

969 commits

Author SHA1 Message Date
Sophie Tauchert
1396c59516 Fix clippy warning 2021-01-14 22:24:26 +05:30
Sophie Tauchert
baa4b0cd1a Fix varying output lengths of inodes in integration test again 2021-01-14 22:24:26 +05:30
Sophie Tauchert
dffc55b87b Fix typo 2021-01-14 22:24:26 +05:30
Sophie Tauchert
02441fdf38 Remove locale time style 2021-01-14 22:24:26 +05:30
Sophie Tauchert
957957024c Use recent date format for files older than 6 months 2021-01-14 22:24:26 +05:30
Sophie Tauchert
fbe20fcc32 Add test cases for iso and locale formatting 2021-01-14 22:24:26 +05:30
Sophie Tauchert
4ebbfaead2 Fix iso and locale time styles for older elements 2021-01-14 22:24:26 +05:30
Sophie Tauchert
3b814d03a7 Fix and test iso and locale time styles 2021-01-14 22:24:26 +05:30
Sophie Tauchert
aa469408db Fix varying output lengths of inodes in integration test 2021-01-14 22:24:26 +05:30
Sophie Tauchert
d4fbedd1e4 Add test cases for order of precedence 2021-01-14 22:24:26 +05:30
Sophie Tauchert
2a93ce3a6e Invert order of flag parsing to return early 2021-01-14 22:24:26 +05:30
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