Commit graph

525 commits

Author SHA1 Message Date
MichaelAug
f3d294357a Add unit tests 2022-05-26 11:44:29 +08:00
MichaelAug
7e57df12ed Underline header instead of adding "-" characters on new line
adjust header names, always print header if there is any items to
display
2022-05-26 11:44:29 +08:00
MichaelAug
4260b0de64 Center block headers, add underline 2022-05-26 11:44:29 +08:00
MichaelAug
41deb1e65c Print block header if header flag and OneLine layout is set 2022-05-26 11:44:29 +08:00
MichaelAug
d5520d2791 Add --header flag 2022-05-26 11:44:29 +08:00
Kodi Craft
282224e353 Removed redundant error message when using hyperlinks if file is a broken symlink 2022-05-26 11:34:27 +08:00
Juan
dd2ef0aad6 do not calculate total directory size unless it will be displayed 2022-05-09 11:19:37 +08:00
Narawit Rakket
392d56e515 feat(Icons): show icon for files with Dockerfile extension 2022-05-02 11:56:47 +05:30
Nix
d723838243 Add icons for HEIC, PEM and TOML 2022-05-02 10:56:24 +05:30
Abin Simon
208448e139 Fix hyperlink display 2022-04-14 00:38:32 +08:00
khai96_
52c04df660 Add --hyperlink flag 2022-04-14 00:38:32 +08:00
Martin Matous
d1051d21e9 fix context positioning
Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
90199a206e rename context
Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
f5debb878e fix feedback
Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
35207e246a display security label/context
fixes #367

Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
3b6b343944 add access control indicators
fixes #347
fixes #515

Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Abin Simon
79398d796d Fix a CI warning for window runs 2022-03-21 09:34:35 +05:30
Abin Simon
8dd54fee5e Add --permission octal to show permissions in octal 2022-03-21 09:34:35 +05:30
Abin Simon
019e8e424f Don't automatically dereference symlinks in tree/recursive 2022-03-15 19:56:06 +08:00
Limin
7fb9aaf692 Add icon for AppleScript 2022-03-14 11:16:54 +05:30
Limin
6bb5db7f6c Add icon for Adobe Illustrator files 2022-03-14 11:16:54 +05:30
Kara
08558cce1a Changes in response to PR request 2022-02-25 11:11:01 +08:00
Kara
dceebc1536 Icons: added magnet and torrent 2022-02-25 11:11:01 +08:00
Michael
93af717e70 Remove incorrect comments in no_sort test 2022-02-21 21:43:15 +05:30
Michael
55ee0f0d7c Rename unsorted flag to no-sort 2022-02-21 21:43:15 +05:30
Michael
60c7c4ac19 Add unit tests for unsorted flag 2022-02-21 21:43:15 +05:30
Michael
97815faee2 Add "do not sort" option 2022-02-21 21:43:15 +05:30
Abin Simon
082c822684 Fix clippy lints from rust upgrade 2022-02-18 10:28:12 +05:30
Abin Simon
5972f6c99a Bump lscolors to 0.9.0 2022-02-18 10:28:12 +05:30
Ari Archer
6c4cf26b2a Change icon from 0xE5FC to 0xE615
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 11:29:35 +08:00
Ari Archer
f00455d8c9 GPG: Sign commit
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 11:29:35 +08:00
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
4a438a0efb Add a note about default theme value in test 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
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
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
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
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
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