Commit graph

123 commits

Author SHA1 Message Date
Narawit Rakket
ffa5b2bfaf refactor(display): remove unnecessary String clone 2022-06-13 08:32:04 +05:30
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
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
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
8dd54fee5e Add --permission octal to show permissions in octal 2022-03-21 09:34:35 +05:30
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
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
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
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
zwPapEr
154fc1ef69 display/tree: 🔨 add space for better tree display
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
zwPapEr
8873f1c199 test: 🔍 🔨 fix tree test without sort
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
zwPapEr
2f9fd1e8de display: 🎨 delete tree color and apply review
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
zwPapEr
3cdf8fdf0d display/tree: show tree edge at first column when no name block
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
zwPapEr
ebcaaebad2 display/tree: 🔨 detect all subdir size width when tree
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
zwPapEr
2e47bac535 display/tree: 🔨 fix misaligned when tree, add color to tree edge
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
zwPapEr
072a9bd756 display/tree: 🔍 add test and changelog for show edge before name
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
zwPapEr
7f3d4ff9e2 display/tree: 🎨 show tree edge before name block
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-03-27 20:13:05 +05:30
Abin Simon
4720fe7a36 fix some test imports 2021-03-12 18:52:05 +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
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
Piyush Jaipuriyar
072696d72e Changed INodeCount to Links 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
Finn Hediger
10d4585492 Fix test by appending " ".to_string() to Icons::new calls 2021-01-14 14:21:44 +05:30
zwPapEr
cf9030cdf7 config: 🔨 using target enum and vec string for config options
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
95535cb67c 🔨 move symlink arrow to root level 2020-11-02 22:00:53 +05:30
zwPapEr
ce6ebc170a style: add config for symlink arrow 2020-11-02 22:00:53 +05:30
Kai Moschcau
55a96a114d Add ability to configure default options with file
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	README.md
#	src/app.rs
#	src/core.rs
#	src/display.rs
#	src/flags.rs
#	src/meta/mod.rs
#	src/sort.rs
#	tests/integration.rs
2020-10-02 10:08:37 +05:30
Abin Simon
5c128780f1 fix long listing for symlinkd dirs 2020-08-29 17:13:35 +05:30
Abin Simon
cffda506f1 show contents for symlink folders(fix #345) 2020-08-29 17:13:35 +05:30
Abin Simon
d9b7a5599d do not expand sylink in grid display 2020-08-21 23:40:44 +05:30
zwPapEr
faea1c0051 arg: add support for dereference 2020-08-21 23:27:12 +05:30
dvvvvvv
42e092b04a make not using canonical path when make parent path 2020-05-31 16:46:54 +05:30
dvvvvvv
70aea2947b remove canonicalize in relative_name function and add None Display Option 2020-05-31 16:46:54 +05:30
dvvvvvv
08133b4ebb remove redundent edits 2020-05-31 16:46:54 +05:30
dvvvvvv
3141278c65 add relative path function 2020-05-31 16:46:54 +05:30
dvvvvvv
746a929ebf remove current/parent display option 2020-05-31 16:46:54 +05:30
dvvvvvv
708a6f5dc1 create display option of name 2020-05-31 16:46:54 +05:30
zwPapEr
1af45a10e8 inode: 🎨 use option for inode, and two color for valid or not 2020-01-11 14:17:44 +05:30
zwPapEr
0ebb39d60c impl showing inode by setting blocks
working on https://github.com/Peltoche/lsd/issues/276
2020-01-11 14:17:44 +05:30
Pierre Peltier
200c5d2c68 Fix the spacing rules between the grid and online layout 2019-12-06 11:35:03 +05:30
Pierre Peltier
80ab697fb9 Fix the spacing, following the @meain recomandations 2019-12-06 11:35:03 +05:30
Pierre Peltier
d031c4b192 Revert the two space separator 2019-12-06 11:35:03 +05:30