From 867a57e176c4c92d7672a94ce555003aed10453f Mon Sep 17 00:00:00 2001 From: simbekkh Date: Thu, 27 Oct 2016 17:34:49 +0200 Subject: [PATCH] Add zsh type --- src/types.rs | 1 + 1 file changed, 1 insertion(+) 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