mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
mc.ext: man: fixed cat as fallback for zsoelim
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
This commit is contained in:
parent
b20cd38d0d
commit
8f181d9e42
@ -276,8 +276,8 @@ regex/\.(so|so\.[0-9\.]*)$
|
||||
View=%view{ascii} file %f && nm %f
|
||||
|
||||
regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$
|
||||
Open=case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f || cat %f } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac | %var{PAGER:more}
|
||||
View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f || cat %f } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac
|
||||
Open=case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f 2>/dev/null || cat %f; } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac | %var{PAGER:more}
|
||||
View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f 2>/dev/null || cat %f; } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac
|
||||
|
||||
# Perl pod page
|
||||
shell/.pod
|
||||
|
Loading…
Reference in New Issue
Block a user