Jacob Vaverka
e433b3fed0
Update icons.rs
...
Add Markdown icon for Julia Markdown documents (same convention as for `*.Rmd`)
2022-01-10 11:46:23 -05:00
Christian Höltje
42659f9345
add icon for .bats files ( #968 )
...
* add icon for .bats files
This adds the same icon as BASH for `.bats` files.
Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
2022-01-05 00:10:24 +01:00
Mélanie Chauvel
a2f3ff98c2
Merge pull request #993 from cab-1729/master
...
Adding icons for .part and .torrent files
2022-01-05 00:09:31 +01:00
Mélanie Chauvel
4f919a6bc5
Merge pull request #989 from foundObjects/add-filetypes
...
Add file icons for zst and Arch Linux PKGBUILD
2022-01-05 00:03:58 +01:00
Mélanie Chauvel
446903ac00
Merge pull request #1002 from thesamesam/gentoo
...
icons: add Gentoo for .ebuild
2022-01-04 23:39:28 +01:00
KOSHIKAWA Kenichi
352a1e8f19
src/main.rs: remove clippy::unnested_or_patterns
...
Signed-off-by: KOSHIKAWA Kenichi <reishoku.misc@pm.me>
2022-01-03 22:57:38 +09:00
Sam James
89d537adb4
icons: add Gentoo for .ebuild
...
Signed-off-by: Sam James <sam@gentoo.org>
2022-01-03 04:43:29 +00:00
cab-1729
091ab51b98
Add files via upload
2021-12-15 21:08:30 +05:30
Ashin Antony
859666d287
feat: Add julia file extension icon
...
Icon for julia file extension '.jl' is added to the icons list.
2021-12-14 17:46:30 +05:30
Scott B
c4b8e7af1a
add PKGBUILD file icon
2021-12-10 18:21:03 -08:00
Scott B
69ae5db3b6
add zst file icon
2021-12-10 18:04:57 -08:00
Bastien Orivel
af208285e8
Update term_grid to 0.2
2021-12-10 13:21:13 +01:00
Mélanie Chauvel
7c957f95b3
Merge pull request #982 from paper-lark/no-color
...
NO_COLOR environment variable support
2021-12-06 21:43:55 +01:00
Mélanie Chauvel
df4fb84ae1
don’t display broken pipe error messages (see rust-lang/rust#46016 )
2021-12-05 18:22:38 +01:00
Max Zhuravsky
a371c41711
[no-color] - add unit test and doc
2021-11-26 01:45:41 +03:00
Max Zhuravsky
aab1d3db59
[no-color] - implement NO_COLOR support
2021-11-25 23:37:02 +03:00
jim4067
4220b6f41e
add lz4 file type and icon
2021-10-03 13:16:47 +03:00
Mélanie Chauvel
a7aca35d97
Merge pull request #957 from hellosway/patch-1
...
Recognize .jxl and .avif as image files
2021-10-03 01:11:01 +02:00
jim4067
247d1345e7
fix: add compression icon to .tXX files #930
2021-10-02 20:05:32 +03:00
hellosway
1c36b71779
Add avif and jxl icons
2021-09-27 16:36:17 -07:00
hellosway
659def7138
Recognize .jxl and .avif as image files
2021-09-22 17:07:06 -07:00
Joshua Gawley
11793973fe
Add Makefile icon ( #945 )
...
* Add icon for .mk files
* Updated icon for Makefile
2021-09-03 18:10:15 +02:00
Mélanie Chauvel
fe11b9d319
Fix panic on non UTF-8 file when using Git
2021-09-01 22:42:34 +02:00
Izhak Jakov
5f49a2e840
Add extension ".bkp" as temp file
2021-08-22 21:11:35 -04:00
Mélanie Chauvel
439b629d90
Merge pull request #933 from billrisher/fix/add_podfile_to_immediate
...
Added 'Podfile' to list of immediate files
2021-08-20 18:18:06 +02:00
Bill Risher
79cd5d448a
Added 'Podfile' to list of immediate files
2021-08-17 21:21:02 -05:00
a1346054
2bef43fb1b
fix whitespace
2021-08-14 22:05:22 +00:00
xxkfqz
8de5b97804
fix: more JPG extensions
2021-07-02 15:02:06 +05:00
Matthew Gleich
56c78400b8
feat: add sty file
...
Signed-off-by: Matthew Gleich <git@mattglei.ch>
2021-05-18 00:12:17 -04:00
ariasuni
785d6ed991
Fix clippy warnings for Rust 1.53
2021-05-13 02:44:22 +02:00
ariasuni
045172bd9e
Fix all remaining clippy warnings
...
- Allow clippy::cast_*: generated warnings are mostly useless
- Fix the other warnings so using clippy is actually useful
2021-05-08 18:09:35 +02:00
ariasuni
86d5939abe
Remove unused function
2021-05-08 16:20:17 +02:00
ariasuni
90416ed3ce
Update comments about how the --git-ignore option is handled
2021-05-08 16:20:17 +02:00
ariasuni
7c80070120
Update broken link, remove content copied from said link
...
The old Google+ post is unavailable. The new link points to an article who saved the content and is also available on Wayback Machine.
2021-05-08 16:20:17 +02:00
Christian Göttsche
ae62f5d18e
Cleanup clippy warnings
...
Drop unused allow overrides
2021-04-30 15:37:43 +02:00
Christian Göttsche
d253893614
Cleanup clippy warnings
...
Enable clippy::missing_errors_doc
warning: docs for function returning `Result` missing `# Errors` section
--> src/main.rs:164:5
|
164 | / pub fn run(mut self) -> io::Result<i32> {
165 | | debug!("Running with options: {:#?}", self.options);
166 | |
167 | | let mut files = Vec::new();
... |
202 | | self.print_dirs(dirs, no_files, is_only_dir, exit_status)
203 | | }
| |_____^
|
2021-04-30 15:37:39 +02:00
Christian Göttsche
61ec153bcd
Cleanup clippy warnings
...
warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration)
--> src/output/escape.rs:4:1
|
4 | pub fn escape<'a>(string: String, bits: &mut Vec<ANSIString<'a>>, good: Style, bad: Style) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
warning: this lifetime isn't used in the function definition
--> src/output/escape.rs:4:15
|
4 | pub fn escape<'a>(string: String, bits: &mut Vec<ANSIString<'_>>, good: Style, bad: Style) {
| ^^
|
warning: single-character string constant used as pattern
--> src/output/table.rs:310:41
|
310 | if file.starts_with(":") {
| ^^^ help: try using a `char` instead: `':'`
|
warning: single-character string constant used as pattern
--> src/output/table.rs:310:41
|
310 | if file.starts_with(":") {
| ^^^ help: try using a `char` instead: `':'`
|
warning: methods called `new` usually return `Self`
--> src/output/render/git.rs:38:5
|
38 | fn new(&self) -> Style;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
warning: this lifetime isn't used in the function definition
--> src/output/icons.rs:40:22
|
40 | pub fn iconify_style<'a>(style: Style) -> Style {
| ^^
|
warning: lint `clippy::find_map` has been removed: this lint has been replaced by `manual_find_map`, a more specific lint
--> src/main.rs:11:10
|
11 | #![allow(clippy::find_map)]
| ^^^^^^^^^^^^^^^^
|
warning: redundant else block
--> src/fs/dir.rs:124:18
|
124 | else {
| __________________^
125 | | return None
126 | | }
| |_____________^
|
warning: redundant else block
--> src/options/view.rs:60:18
|
60 | else {
| __________________^
61 | | // the --tree case is handled by the DirAction parser later
62 | | return Ok(Self::Details(details));
63 | | }
| |_____________^
|
warning: all variants have the same postfix: `Bytes`
--> src/output/table.rs:170:1
|
170 | / pub enum SizeFormat {
171 | |
172 | | /// Format the file size using **decimal** prefixes, such as “kilo”,
173 | | /// “mega”, or “giga”.
... |
181 | | JustBytes,
182 | | }
| |_^
|
warning: all variants have the same postfix: `Bytes`
--> src/output/table.rs:171:1
|
171 | / pub enum SizeFormat {
172 | |
173 | | /// Format the file size using **decimal** prefixes, such as “kilo”,
174 | | /// “mega”, or “giga”.
... |
182 | | JustBytes,
183 | | }
| |_^
|
warning: useless use of `format!`
--> src/options/mod.rs:181:50
|
181 | return Err(OptionsError::Unsupported(format!(
| __________________________________________________^
182 | | "Options --git and --git-ignore can't be used because `git` feature was disabled in this build of exa"
183 | | )));
| |_____________^ help: consider using `.to_string()`: `"Options --git and --git-ignore can't be used because `git` feature was disabled in this build of exa".to_string()`
|
warning: stripping a prefix manually
--> src/fs/filter.rs:287:33
|
287 | if n.starts_with('.') { &n[1..] }
| ^^^^^^^
|
warning: case-sensitive file extension comparison
--> src/info/filetype.rs:24:19
|
24 | file.name.ends_with(".ninja") ||
| ^^^^^^^^^^^^^^^^^^^
|
2021-04-30 15:37:31 +02:00
Mélanie Chauvel
95682f5674
Merge pull request #858 from Prunkles/master
...
Add F# icons
2021-04-27 01:01:41 +02:00
ariasuni
a85c72e2a0
Replace unmaintained crate term_size
by terminal_size
2021-04-27 00:16:25 +02:00
Prunkles
7a26b4e0f7
Add F# icons
2021-04-26 08:05:05 +03:00
Benjamin Sago
e3e776a1fa
Use better icon for TeX files
...
Fixes GH-777.
2021-04-12 22:23:51 +01:00
Benjamin Sago
dbd11d3804
Add classify char to symlink targets
...
Fixes GH-589.
2021-04-12 22:02:30 +01:00
Benjamin Sago
550f2d29c2
Add context to all option number parse errors
...
Fixes GH-839.
2021-04-12 21:42:45 +01:00
Benjamin Sago
31043462af
Improve help text for -d flag
...
Fixes GH-202.
2021-04-11 23:43:36 +01:00
Benjamin Sago
311c9baf65
Explain device IDs with a comment
2021-04-11 23:34:29 +01:00
ariasuni
bd4f144884
Fix deducing git ignored state for files too, not only directories
2021-04-10 00:56:07 +02:00
Benjamin Sago
6403336028
Merge pull request #841 from ariasuni/dont-aggregate-git-ignored-status
...
Fix --git deducing ignored state in unintuitive way
2021-04-09 23:12:37 +01:00
Benjamin Sago
e86f2b938b
Merge pull request #837 from ariasuni/fix-month-name-not-translated
...
Fix month name not following locale when date is in current year
2021-04-09 23:11:28 +01:00
ariasuni
8c10feec51
Fix --git deducing ignored state in unintuitive way
...
It makes sense to consider that a directory has the aggregated status of all the files under it.
The exception is that for the ignored status, it’s more useful and intuitive to consider that it applies to everything under it.
- A directory containing an ignored file is no longer considered ignored
- A file inside an ignored directory is now considered ignored
2021-04-09 21:47:42 +02:00
ariasuni
3a8005c840
Fix month name not following locale when date is in current year
2021-04-09 17:54:18 +02:00