summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-10-27 11:56:32 -0400
committerGitHub <noreply@github.com>2016-10-27 11:56:32 -0400
commitd4876cd064d20153501d71e3748f9d3cb876f851 (patch)
tree8d6c45b35d3333cc774cf9a74d7a39cb022f4a54
parentec4904df3368ff1386214dfcb32825a5d8d01975 (diff)
parent867a57e176c4c92d7672a94ce555003aed10453f (diff)
Merge pull request #197 from SimenB/zsh-type
Add zsh type
-rw-r--r--src/types.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.rs b/src/types.rs
index 3133c03b..b49e9df5 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -88,6 +88,7 @@ const TYPE_EXTENSIONS: &'static [(&'static str, &'static [&'static str])] = &[
("xml", &["*.xml"]),
("yacc", &["*.y"]),
("yaml", &["*.yaml", "*.yml"]),
+ ("zsh", &["*.zsh", ".zshenv", ".zlogin", ".zprofile", ".zshrc"]),
];
/// Describes all the possible failure conditions for building a file type