misc/mc.ext.in: Opening .chm with kchmviewer with fallback to xchm

This commit is contained in:
Andrey Rahmatullin 2009-11-01 15:41:02 +01:00 committed by Enrico Weigelt, metux IT service
parent c2542a9400
commit 5d87893ffe
1 changed files with 3 additions and 0 deletions

View File

@ -343,6 +343,9 @@ regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
Open=case %d/%f in */log/*|*/logs/*) xz -dc %f ;; *) xz -dc %f | nroff @MAN_FLAGS@ @MANDOC@ ;; esac | %var{PAGER:more}
View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) xz -dc %f ;; *) xz -dc %f | nroff @MAN_FLAGS@ @MANDOC@ ;; esac
# CHM
regex/\.(chm|CHM)$
Open=which kchmviewer > /dev/null 2>&1 && (kchmviewer %f &) || (xchm %f &)
### Images ###