From 6a4bc22615937c99918ccdec0e0be4defdea8221 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 11 Nov 2014 01:42:53 +0300 Subject: [PATCH] Use $PAGER or more instead of less --- .mc/menu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.mc/menu b/.mc/menu index 42d7263..94e812d 100644 --- a/.mc/menu +++ b/.mc/menu @@ -18,7 +18,7 @@ shell_patterns=0 + t r p View the file in the pager - exec $PAGER %f + exec ${PAGER:-more} %f + t r b View the file in a browser @@ -63,15 +63,15 @@ e evince += t r & f \.(doc|DOC|rtf)$ d catdoc - catdoc %f | less + catdoc %f | ${PAGER:-more} += t r & f \.(docx|DOCX)$ d docx2txt - docx2txt %f - | less + docx2txt %f - | ${PAGER:-more} += t r & f \.(xls|XLS)$ x xls2csv - xls2csv %f | less + xls2csv %f | ${PAGER:-more} + t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|xpm)$ | t t = t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|xpm)$ -- 2.39.5