Fix XLS and DOC file handling by MC.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 02 Apr 2014 12:46:43 +0300
changeset 697 897df168fda7
parent 696 830e42c4a624
child 698 39d24046cebf
Fix XLS and DOC file handling by MC.
.config/mc/mc.ext
--- a/.config/mc/mc.ext	Fri Mar 28 00:12:05 2014 +0200
+++ b/.config/mc/mc.ext	Wed Apr 02 12:46:43 2014 +0300
@@ -192,13 +192,19 @@
 regex/\.[sS]?[hH][tT][mM][lL]?$
     Open=see %f 2>/dev/null &
 
+regex/\.[Dd][Oo][Cc][Xx]?$
+	Open=see %f >/dev/null 2>&1 &
+regex/\.[Xx][Ll][Ss][xX]?$
+    Include=my-msword
+shell/.docx$
+    Include=my-msword
 regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
-    Include=msword
+    Include=my-msword
 type/^Microsoft\ Word
-    Include=msword
+    Include=my-msword
 type/^Microsoft\ Office\ Document
-    Include=msword
-include/msword
+    Include=my-msword
+include/my-msword
 	Open=see %f >/dev/null 2>&1 &
 	View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f