Commit graph

782 commits

Author SHA1 Message Date
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
zwPapEr
d58a7a3656 📝 add filename coloring explanation between LS_COLOR and theme
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
fc7d2337ab config: 🔨 user do not have to config yaml extension for theme
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
61121e599d theme: 🔨 use themes dir for themes configurations
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
81c1a79c85 build: ⬆️ update dependency to deserialize color
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
83986e72fb 🔥 get rid of ansi term in all code
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
f85b87cbe7 📝 🔨 update readme to corssterm color
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
b3bdcfd337 🔍 🔨 update tests to fit crossterm color
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
5e40a1c2cb done use crossterm to impl theme, functionally works
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
e29966978e theme: 🎨 📝 update readme, change log, error log
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
e88ca0feb1 theme: 🔨 using default to return dark theme and more tests
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
80a0a704c6 theme/test: 🔍 add tests for theme
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
b13a171a41 theme/test: 🔍 🔨 update tests to fit theme update
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00