Commit graph

734 commits

Author SHA1 Message Date
Abin Simon
2407dea0d5 Update changelog.md for patch release 2021-03-07 12:32:47 +05:30
Abin Simon
c061218965 Remove tree test with --all
This seems to be different in macOS&Windows vs Linux. Fixing this so
that we can make a release. For some reason, this works randomly.
2021-03-07 12:31:16 +05:30
Abin Simon
2930769d82
Release 0.20.0 2021-03-07 11:53:16 +05:30
Abin Simon
22f5a6b992 Fix test involving config file for sorting 2021-02-17 09:21:58 +05:30
Abin Simon
7fad205682 Fix arg value parsing for flags that allow multiple input 2021-02-16 09:15:48 +05:30
Abin Simon
24e6335e0a Fix sorting with almost-all flag and a folder
With a folder structure (a folder `z` with a file `a`), if we do `lsd
-a` it used to be:

. a ..

instead of

. .. a

This was caused to the the parent meta having full path and us using
z/.. to sort .. entry. This should now be fixed with manually changing
the name to a .. .
2021-02-15 09:35:14 +05:30
zwPapEr
0ca699ee2f display/tree: 🔍 add test for tree with all not show self
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-02-15 09:33:59 +05:30
zwPapEr
36002a35ac display/tree: 🔨 not showing . and .. when tree with all
fix https://github.com/Peltoche/lsd/issues/477

Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-02-15 09:33:59 +05:30
P3TERX
841ad99ced CICD: Build Linux aarch64(arm64) platform 2021-02-09 10:35:59 +05:30
Abin Simon
e08cc25432 Add manpage to release artifacts 2021-02-03 17:30:49 +05:30
ed neville
db87726598 Adding lsd man page in markdown format
* lsd.md to produce man page when used with pandoc.
2021-01-31 09:41:04 +05:30
TheAlakazam
3c342f68b0 Code review fixes 2021-01-31 09:39:14 +05:30
Piyush Jaipuriyar
072696d72e Changed INodeCount to Links 2021-01-31 09:39:14 +05:30
Piyush Jaipuriyar
34beb08d1f Addressed review comments 2021-01-31 09:39:14 +05:30
TheAlakazam
52d6953cc6 Fix for #407: Show number of hardlinks for lsd -l 2021-01-31 09:39:14 +05:30
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