Commit graph

794 commits

Author SHA1 Message Date
Finn Hediger
9e11a38f66 Remove --icon-spacing cli flag 2021-01-14 14:21:44 +05:30
Finn Hediger
f1ee37e805 Fix copied comments of the IconSpacing methods 2021-01-14 14:21:44 +05:30
Finn Hediger
1a8d72d079 Update CHANGELOG to feature support for changing icon spacing 2021-01-14 14:21:44 +05:30
Finn Hediger
8b9e281200 Update tests 2021-01-14 14:21:44 +05:30
Finn Hediger
9ef64deff0 Remove unused ICON_SPACING 2021-01-14 14:21:44 +05:30
Finn Hediger
10d4585492 Fix test by appending " ".to_string() to Icons::new calls 2021-01-14 14:21:44 +05:30
Finn Hediger
55c2692a63 Add --icon-spacing flag and icon.spacing config option
The spacing option takes a string and puts it between the icon and
the name. The default would be one space: " ".
2021-01-14 14:21:44 +05:30
Abin Simon
5b2dbca60d add NetBSD install option in README
http://mail-index.netbsd.org/pkgsrc-changes/2021/01/05/msg226357.html
2021-01-07 18:07:01 +05:30
Abin Simon
c089af22ab respect blocks passed without long from cli
When reading from config, we do not take into consideration the value
of blocks until we pass -l in the cli args, but if the user passes
in blocks via the cli, the -l flag is implied.
2021-01-01 13:26:06 +05:30
Abin Simon
e3649fede8 add pull request template 2020-12-13 11:50:17 +05:30
Abin Simon
4a74ea4ef0 prepare changelog for new cycle 2020-12-13 11:42:03 +05:30
Abin Simon
43cd35dceb
Release 0.19.0 2020-12-13 11:24:41 +05:30
Abin Simon
5ffe67a356 udpate release.toml 2020-12-13 11:20:39 +05:30
Abin Simon
d8a991387d update changelog entries 2020-12-13 11:10:05 +05:30
zwPapEr
f539dffe4d test: 🔍 🔨 make test name more clear, add reverse sort false
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
7efe3aa36e config: 🔨 🎨 update code consistency due to review
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
9b237bbf9e log: 📝 unique error output and update comment to fit config 2020-12-13 10:43:03 +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
3ef4ec6e81 test: 🔍 add glob add sorting test
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
c8eddf6e2b config: 🔨 print error when config file error 2020-12-13 10:43:03 +05:30
zwPapEr
da99c70af6 test/flags: 🔍 🔨 update tests to fit serde yaml change
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
aca34d9e25 config,flag: 🔨 refactor flag using serd yaml config 2020-12-13 10:43:03 +05:30
zwPapEr
e4d8d85678 config file: 🔨 uniq file and serde yaml parsing 2020-12-13 10:43:03 +05:30
zwPapEr
0e8ae256b5 config: 🔨 refactor read config by name 2020-12-13 10:43:03 +05:30
AJ ONeal
760d5c7538 add tree test 2020-12-11 16:43:45 +05:30
AJ ONeal
1cdef5fe96 use existing display and layout 2020-12-11 16:43:45 +05:30
AJ ONeal
42c3c8ca62 don't follow symlinks with tree -d 2020-12-11 16:43:45 +05:30
Jay
c67c639327 Implement lsd --tree -d
This commit implements the `-d` option in combination with `--tree` to mimic `tree -d` behaviour. There are also changes to the behaviour of `--tree` and `-R` such that they follow the same behaviour as `tree -d` and `ls -R` i.e. not follwoing symlinked directories unless the `-L` flag is specified.
2020-12-11 16:43:45 +05:30
Peter Stewart
b6bd1d3b55 Apply suggestions from code review
Co-authored-by: Abin Simon <abinsimon10@gmail.com>
2020-11-09 12:19:41 +05:30
Peter Stewart
68cd59840e Add tests for icons 2020-11-09 12:19:41 +05:30
Peter Stewart
3439e1d735 Make all known filenames & extensions lower-case and always match by lower-cased name 2020-11-09 12:19:41 +05:30
Peter Stewart
9435de8f78 Fix comments 2020-11-09 12:19:41 +05:30
Peter Stewart
d2094af48b Fix formatting issues 2020-11-09 12:19:41 +05:30
Peter Stewart
d774de41a0 Add case-insensitive matching of known filenames and extensions 2020-11-09 12:19:41 +05:30
George Plymale II
7f687a8ad4 add macports as installation option on macOS 2020-11-04 11:18:10 +05:30
VentGrey
0d51c7e1b9 Added space to comply with CI/CD styling 2020-11-04 11:14:27 +05:30
VentGrey
22b040160f renamed to .jl extension 2020-11-04 11:14:27 +05:30
VentGrey
413e2b2ddd Added julia icon for .jl files 2020-11-04 11:14:27 +05:30
zwPapEr
95535cb67c 🔨 move symlink arrow to root level 2020-11-02 22:00:53 +05:30
zwPapEr
448cfd5a2c 🔨 change styles to styling 2020-11-02 22:00:53 +05:30
zwPapEr
b1f37c169f styling: 🔨 move symlink arrow to styling mod and use styling
fix https://github.com/Peltoche/lsd/issues/409
2020-11-02 22:00:53 +05:30
zwPapEr
8c2dc69f67 test/symlink-arrow: 🔍 add more test for symlink-arrow 2020-11-02 22:00:53 +05:30
zwPapEr
3e0ad533fa update docs for symlink arrow 2020-11-02 22:00:53 +05:30
zwPapEr
ce6ebc170a style: add config for symlink arrow 2020-11-02 22:00:53 +05:30
Jay
8ed0611bf8 remove unneeded cfg(test) 2020-10-28 22:43:11 +05:30
Jay
470e24b683 fix wsl tests 2020-10-28 22:43:11 +05:30
Jay
8feb49ad20 remove from changelog
has no effect for user
2020-10-28 22:43:11 +05:30
Jay
27183c2b1f readd removed line 2020-10-28 22:43:11 +05:30
Jay
f7d5e917c2 revert to linux only test
mac cannot create a file with invalid utf8, windows deals with invalid chars on reading file name
2020-10-28 22:43:11 +05:30
Jay
ae5202944f fix bad utf8 on windows 2020-10-28 22:43:11 +05:30