Selaa lähdekoodia

Merge branch 'master' of github.com:ogham/exa

Benjamin Sago 7 vuotta sitten
vanhempi
sitoutus
8b4ebc2d6b
2 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. 5 0
      README.md
  2. 1 1
      src/info/filetype.rs

+ 5 - 0
README.md

@@ -92,6 +92,11 @@ or:
 
 [Formulae](https://github.com/Homebrew/homebrew-core/blob/master/Formula/exa.rb)
 
+### Nix
+
+`exa` is also installable through [the derivation](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/exa/default.nix) using the [nix package manager](https://nixos.org/nix/) by running:
+
+    nix-env -i exa
 
 ## Testing with Vagrant
 

+ 1 - 1
src/info/filetype.rs

@@ -37,7 +37,7 @@ impl FileExtensions {
 
     fn is_video(&self, file: &File) -> bool {
         file.extension_is_one_of( &[
-            "avi", "flv", "m2v", "mkv", "mov", "mp4", "mpeg",
+            "avi", "flv", "m2v", "m4v", "mkv", "mov", "mp4", "mpeg",
             "mpg", "ogm", "ogv", "vob", "wmv", "webm", "m2ts",
         ])
     }