Commit graph

794 commits

Author SHA1 Message Date
Abin Simon
4120f68d09 Fix few typos 2022-01-26 19:54:29 +05:30
networkException
e9ff6ca3e6 Add --group-directories-first as an alias for --group-dirs=first
`ls` from coreutils has the `--group-directories-first` flag as the only
directory grouping option. This patch improves compatibility so that
users switching to `lsd` can continue using `--group-directories-first`.
2022-01-26 19:54:29 +05:30
Abin Simon
1a63ccced0 Prep changelog for next release 2022-01-16 21:12:17 +05:30
Abin Simon
af7ce9a03e
Release 0.21.0 2022-01-16 13:00:42 +05:30
Abin Simon
4a438a0efb Add a note about default theme value in test 2022-01-16 12:47:35 +05:30
zwPapEr
26d5fa6e43 theme: 📝 add docs for partial theme
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2022-01-16 12:47:35 +05:30
zwPapEr
d86b1e1e01 clippy: 🎨 🔥 drop not used lint
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2022-01-16 12:47:35 +05:30
zwPapEr
ade8662d6e theme: 🔍 🔨 update tests to fit optional theme items
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2022-01-16 12:47:35 +05:30
zwPapEr
6049e2ed65 theme: 🔨 fallback to default theme if item missed
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2022-01-16 12:47:35 +05:30
zwPapEr
2f353af414 theme: add default and update the others optional 2022-01-16 12:47:35 +05:30
Kleysley
e59e6ccefc Update README.md 2021-12-22 08:53:34 +05:30
Kleysley
0abc37085b Update README.md 2021-12-22 08:53:34 +05:30
Kleysley
de817313d5 Updated README F.A.Q section
Updated the README file to contain a fix for the first character of each file not rendering in the F.A.Q section (by adding a U+3164 unicode invisible spacer after the icon).
2021-12-22 08:53:34 +05:30
Juan
0a3a6f10e7 made the group-dirs flag require a value 2021-11-30 11:02:13 +08:00
Gasu16
fba600daee done requested changes 2021-11-26 11:21:05 +08:00
Gasu16
3a28c71cfe retrigger tests for issue #582 2021-11-26 11:21:05 +08:00
Gasu16
c49a67085a Resolving issue #582 2021-11-26 11:21:05 +08:00
Gasu16
0d8743cd87 Resolving conflict in issue #582 2021-11-26 11:21:05 +08:00
Wei Zhang
f81c3b19d7 faq: add putty/kitty icon render faq 2021-11-24 17:27:42 +05:30
Richard Tuin
4981da4281 Allow human-readable to be set multiple times
This improves compatibility with `ls`.

For example: in my `~/.zshrc` I have the following:
```bash
alias ls='lsd -lFah'
```

When I'm off-guard and type `ls -lah` I now get the following:

```
error: The argument '--human-readable' was provided more than once, but cannot be used multiple times

USAGE:
    lsd --all --color <color>... --date <date>... --group-dirs <group-dirs>... --human-readable --icon <icon>... --icon-theme <icon-theme>... --ignore-glob <pattern>... --classify --long --size <size>...

For more information try --help
```

This should solve that.
2021-11-18 11:50:15 +08:00
PoorPockets McNewHold
676d5ababc Added Solus packages
https://dev.getsol.us/source/lsd/ Maintained in the Solus repo by https://github.com/algent-al
2021-10-31 19:34:10 +05:30
Abin Simon
8fb481879b Cleanup readme and add a few more faq questions 2021-10-18 04:34:24 +00:00
Arkadiusz Bielewicz
b3a1dee4c6 #532 Improve date format validation to include all supported cases | fmt applied 2021-10-14 05:43:31 +00:00
Arkadiusz Bielewicz
19fb1c68a5 #532 Improve date format validation to include all supported cases | Adjusted CHANGELOG 2021-10-14 05:43:31 +00:00
Arkadiusz Bielewicz
8037d5f4ce #532 Improve date format validation to include all supported cases | Added missing valid cases 2021-10-14 05:43:31 +00:00
Arkadiusz Bielewicz
c269d3c337 #532 Improve date format validation to include all supported cases | CHANGELOG updated 2021-10-14 05:43:31 +00:00
Arkadiusz Bielewicz
1363945fd8 #532 Improve date format validation to include all supported cases | Formatting, test added 2021-10-14 05:43:31 +00:00
Arkadiusz Bielewicz
83a25867d0 #532 Improve date format validation to include all supported cases | Validation extended to support mentioned case. 2021-10-14 05:43:31 +00:00
Tom Parker-Shemilt
1e37051bc9 Exclude windows and non-x86_64 for bad_time as it overflows on those 2021-10-09 20:11:17 +08:00
Tom Parker-Shemilt
0e49185233 Try reducing bad year count a bit, as it breaks on some platforms 2021-10-09 20:11:17 +08:00
Tom Parker-Shemilt
820b41a7ef Redo "Bad" enum as Invalid without internal data 2021-10-09 20:11:17 +08:00
Tom Parker-Shemilt
42dfa7d391 Remove lots of returns from new code 2021-10-09 20:11:17 +08:00
Tom Parker-Shemilt
a0216e033c Add test for bad date 2021-10-09 20:11:17 +08:00
Tom Parker-Shemilt
ee401611ee Cope with chrono panics due to weird dates 2021-10-09 20:11:17 +08:00
Tom Parker-Shemilt
74c1206e61 Up version in build.rs to 1.43.1 2021-10-08 04:38:05 -04:00
Tom Parker-Shemilt
0f9ae0139d Up minimum version in build.rs 2021-10-08 04:38:05 -04:00
Tom Parker-Shemilt
963a848014 Remove travis config 2021-10-08 01:02:52 -04:00
Starz0r
29d9c3b10e Use a full string literal for MSRV 1.43.1 compatibility 2021-10-07 16:33:48 +08:00
Starz0r
3409dce094 Allocate owner and group strings on match, simplified string formatting 2021-10-07 16:33:48 +08:00
Starz0r
7ddf094746 Accidentally shadowed a variable out of scope instead of mutating it 2021-10-07 16:33:48 +08:00
Starz0r
8cea3695cb Display "-" instead of "-\-" by handling the error immediately 2021-10-07 16:33:48 +08:00
Starz0r
b45c7550b6 Blank out the SID instead of reporting as a long string (unidentified) 2021-10-07 16:33:48 +08:00
Starz0r
a0d266ab03 Better wording on the SID Lookup comment 2021-10-07 16:33:48 +08:00
Starz0r
b86722bea6 Report unidentified if we cannot determine the security identifier 2021-10-07 16:33:48 +08:00
Abin Simon
4b9de0bbd0 Add a simple test for symlink rendering with color 2021-10-02 02:27:59 -04:00
Dan Sully
1ae8e4a926 Add support for 'mi' missing symlink target LS_COLORS value. 2021-10-02 02:27:59 -04:00
zwPapEr
a37740e371 theme: 🔨 try yml if yaml theme file not found
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
edfc57178e theme: 🔨 use dark color for default theme
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
9f656fdd9d 🔨 use lscolors for filename only, skip from theme configure
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
861822cb04 theme: 🔨 not deserialize no color and no lscolors from config
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00