summaryrefslogtreecommitdiffstats
path: root/crates/ignore/src/default_types.rs
diff options
context:
space:
mode:
authorWieland Hoffmann <themineo@gmail.com>2020-04-10 11:19:25 +0200
committerAndrew Gallant <jamslam@gmail.com>2020-05-08 23:24:40 -0400
commitdf7a3bfc7fe30f3e9e89d8775748b1239c5b5fc4 (patch)
treea5ffa8a165feb657aebfc5bf8dde92f2be984fb3 /crates/ignore/src/default_types.rs
parent28f2a93caefef8018c786c80c9b47f13f62c01c3 (diff)
grep-cli: support files compressed by compress(1)
While Linux distributions (at least Arch Linux, RHEL, Debian) do not support compressing files with compress(1), macOS & AIX do (the utility is part of POSIX). Additionally, gzip is able to uncompress such compressed files and provides an `uncompress` binary. Closes #1547
Diffstat (limited to 'crates/ignore/src/default_types.rs')
-rw-r--r--crates/ignore/src/default_types.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs
index 9136647a..fa83b3d7 100644
--- a/crates/ignore/src/default_types.rs
+++ b/crates/ignore/src/default_types.rs
@@ -234,6 +234,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("xz", &["*.xz", "*.txz"]),
("yacc", &["*.y"]),
("yaml", &["*.yaml", "*.yml"]),
+ ("z", &["*.Z"]),
("zig", &["*.zig"]),
("zsh", &[
".zshenv", "zshenv",