Commit graph

958 commits

Author SHA1 Message Date
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
zwPapEr
b553d07faa color: add parse theme file
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
ec77d91952 log: :doc: unique error output and update comment to fit config 2021-09-26 00:11:42 -04:00
zwPapEr
30373d7956 config: 🔨 using target enum and vec string for config options
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
auronandace
62b1eecb62 run cargo fmt 2021-08-26 15:33:58 +05:30
auronandace
e738de7b8c clippy lint: avoid manual implementation of Option 2021-08-26 15:33:58 +05:30
Luca Matei Pintilie
74fbb96e68 Change changelog entry format 2021-08-22 17:38:19 +05:30
Luca Matei Pintilie
b40ba188ba Remove unnecesary return 2021-08-22 17:38:19 +05:30
Luca Matei Pintilie
763de2ce60 Add change to changelog 2021-08-22 17:38:19 +05:30
Luca Matei Pintilie
de190a4bfb Format and add test 2021-08-22 17:38:19 +05:30
Luca Matei Pintilie
11124b9ff0 Add NO_COLOR env support 2021-08-22 17:38:19 +05:30
auronandace
9bd7690af8 Fix Clippy lints
Update display.rs

Update color.rs

Update date.rs

Update date.rs

Update mod.rs

Update display.rs
2021-08-20 23:30:43 +08:00
Evan Sherwood
0246531e7f Add .mjs extension (ESM)
Re-use the JS icon for [ESM Modules with `.mjs` extension](https://nodejs.org/api/esm.html#esm_modules_ecmascript_modules).
2021-08-16 14:21:56 +08:00
Abin Simon
682a80d866 Remove unnecessary use of read_link 2021-08-15 22:48:56 +05:30
zwPapEr
d17bf89555 build: 🔨 update minimal rust version to 1.42.0 for matches
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-07-23 11:09:25 +05:30
Rob OLeary
2ea97d274a Split over 2 lines
Co-authored-by: Abin Simon <abinsimon10@gmail.com>
2021-06-20 19:47:43 +05:30
Rob O'Leary
40ef87a819 Change according to review feedback 2021-06-20 19:47:43 +05:30
Rob OLeary
b1a71bee95 Update CHANGELOG.md 2021-06-20 19:47:43 +05:30
Rob OLeary
c50539b262 Clarify custom date format string
As per issue #527 , I found it a bit confusing what the proper format should be exactly. It didn't help I was using v0.16.0 and the formatting didnt work period!
2021-06-20 19:47:43 +05:30
Fabricio Dematte
48210f30fb update changelog 2021-06-11 09:57:41 +05:30
Fabricio Dematte
eb466e7bcc add man page entry 2021-06-11 09:57:41 +05:30
Fabricio Dematte
5ae220fa07 update readme 2021-06-11 09:57:41 +05:30
Fabricio Dematte
bfc2bbdeae add custom config file test 2021-06-11 09:57:41 +05:30
Fabricio Dematte
e5a531778a correctly parsing custom config file arg. match 2021-06-11 09:57:41 +05:30
Fabricio Dematte
0871fd0020 add config-file arg match 2021-06-11 09:57:41 +05:30