Commit graph

930 commits

Author SHA1 Message Date
merelymyself
411c9880d2 add/fix tests 2022-09-22 09:40:38 +05:30
merelymyself
81c7c77123 changelog 2022-09-22 09:40:38 +05:30
merelymyself
96d6f801fd fmt 2022-09-22 09:40:38 +05:30
merelymyself
d2e97e01bc add quotes and escapes for necessary filenames 2022-09-22 09:40:38 +05:30
Marcin Puc
ebe7417a88 Fix symlink_arrow test intercepting cli args 2022-09-21 10:25:41 +05:30
Abin Simon
292154358f Fix few changelog issues 2022-09-13 08:59:25 +05:30
Abin Simon
84fedc6f44
Release 0.23.1 2022-09-13 08:55:33 +05:30
Abin Simon
b164cbef9e Improve .release.toml to auto prep for next release 2022-09-13 08:52:43 +05:30
Abin Simon
68d2d0f27c Prepare changelog for next release 2022-09-13 08:41:14 +05:30
clavinet
947681aaef Update README.md
add installation command for openSUSE
2022-09-12 09:25:29 +05:30
Doug Elkin
e7fb6f34ed return POSIX-compatible exit status 2022-09-12 09:19:42 +05:30
Abin Simon
496e4be705 Fix changelog template 2022-09-10 12:01:11 +05:30
Doug Elkin
564128a175 update changelog for ZSH completion fix 2022-09-10 12:01:11 +05:30
Doug Elkin
0d8c2c4d9c use ValueHint::AnyPath on FILE argument
This fixes an issue with path completion in ZSH.
2022-09-10 12:01:11 +05:30
Narawit Rakket
a2cabdf5b9 chore: add empty rustfmt.toml
This ensure that `rustfmt` will always use default configs for this
project even if there is a `rustfmt.toml` in parent directories
2022-09-05 15:11:41 +05:30
Abin Simon
80a2bb26c8
Release 0.23.0 2022-09-05 14:53:06 +05:30
Narawit Rakket
6638e63372 refactor: remove unnecessary check for 'ignore-config' 2022-08-25 09:27:17 +05:30
Narawit Rakket
7869839bd8 refactor(ignore-glob): various refactoring
- Use `?` to early return
- Improve readability by reducing indentation
- Remove unnecessary mutable variable
- Change function signature to mimic other flags
2022-08-23 23:05:02 +05:30
Narawit Rakket
e2d046d60b refactor: use map_err instead of match 2022-08-23 23:05:02 +05:30
Saber Haj Rabiee
06ce88dd46 perf: reduces the binary size and improves the performance
correctes the `CHANGELOG.md`

correctes the CHANGELOG.md
2022-08-23 22:39:14 +05:30
James
1db99de984 Apply cargo fmt 2022-08-23 22:16:54 +05:30
James
c22498e9e8 Clap macros no longer required 2022-08-23 22:16:54 +05:30
James
768ec41f0c Fix clippy lint 2022-08-23 22:16:54 +05:30
James
0f42e725f9 Update clap to v3 2022-08-23 22:16:54 +05:30
Han Yeong-woo
7d523103ec feat(icon): add icon for Zstandard 2022-08-23 09:15:48 +05:30
Narawit Rakket
d538d74017 refactor(test): remove unnecessary vec! macro 2022-08-14 16:20:11 +08:00
Narawit Rakket
34da1409c3 refactor(build): make code more modern and idiomatic 2022-08-12 22:56:03 +05:30
Narawit Rakket
0a7e6e7f47 refactor: minimize visibility of functions 2022-08-12 22:54:27 +05:30
Narawit Rakket
08626b84fc refactor(icon): minor refactoring
* use `matches!` to improve readability
* remove unnecessary `format!` in tests
2022-08-12 22:54:17 +05:30
Narawit Rakket
b529b6a901 refactor(date): minor refactoring
* use `map_or` to make code more concise
* use `match` to make code more readable
* replace `format!` with `to_string()`
* construct `String` from `char` instead of `&str`
2022-08-12 22:54:06 +05:30
Narawit Rakket
31d3701cae chore: reduce MSRV to 1.62.0 2022-08-12 18:06:57 +05:30
Narawit Rakket
8c1089ed57 chore: bump minimum Rust version to 1.62.1 (latest) 2022-08-12 18:06:57 +05:30
Narawit Rakket
8d08fb63d1 refactor: use default attribute for enum
Use the new feature from Rust 1.62 to make code more concise
https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html#default-enum-variants
2022-08-12 18:06:57 +05:30
Kian-Meng Ang
d05b2acd20 Fix typos and markdowns
Found via these commands:

    codespell -L crate,complies
    markdownlint README.md docs/lsd.md --disable MD034 MD013 MD033 MD025
2022-08-12 01:29:06 +08:00
Narawit Rakket
1553aafe9d refactor: simplify panic message in unreachable!
Mention `clap` in the comment instead because this information is
useful for developers but can confuse users
2022-08-07 19:53:37 +05:30
Narawit Rakket
685d5a6c2f refactor: do not mention clap in panic message
Mention `clap` in the comment instead because this information is
useful for developers but can confuse users
2022-08-07 19:53:08 +05:30
Narawit Rakket
c239291ca8 docs: fix a small typo in comment 2022-08-07 19:53:08 +05:30
Narawit Rakket
4f100aac78 refactor: implement Configurable for blocks 2022-08-07 19:53:08 +05:30
Narawit Rakket
b5ad6d0d85 chore(workflow): run clippy on all tests 2022-08-02 09:31:24 +05:30
Narawit Rakket
1769bdb856 refactor: run clippy --fix 2022-08-02 09:31:24 +05:30
Narawit Rakket
425e515e48 chore(workflow): bump Rust MSRV to 1.62.1 (latest) 2022-07-31 18:29:22 +05:30
Narawit Rakket
1d860fd6e8 refactor: add more info in unreachable! message 2022-07-31 18:29:22 +05:30
Narawit Rakket
cc8799a91e refactor(flags): refactor parsing arguments
- Make code more idiomatic and readable and have the same pattern
- Use `unreachable` to clearly show internal logic error
- Rename function `from_str` to `from_arg_str` to make it more specific
2022-07-31 18:29:22 +05:30
Abin Simon
2bc55dd608 Fix icons against comments in icon.rs 2022-07-22 15:39:18 +05:30
Narawit Rakket
946f243066 refactor: simplify constant string 2022-07-13 18:57:18 +05:30
Narawit Rakket
8a4316df9f refactor: change input type from String to AsRef<Path>
This improve flexibility and reduce `String` allocation
2022-07-13 18:57:18 +05:30
Narawit Rakket
55c2ef1a7b refactor: simplify control flow 2022-07-13 18:57:18 +05:30
Marcin Puc
6370bdeaff docs(readme): add repology badge 2022-07-11 09:16:53 +05:30
Narawit Rakket
2600644d6a refactor(test): remove unnecessary reference 2022-07-10 16:05:39 +05:30
Narawit Rakket
b247650d37 docs(readme): make example config file collapsible 2022-07-10 12:31:19 +05:30