From: Oleg Broytman Date: Mon, 10 Nov 2014 22:42:53 +0000 (+0300) Subject: Use $PAGER or more instead of less X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=6a4bc22615937c99918ccdec0e0be4defdea8221;p=dotfiles.git Use $PAGER or more instead of less --- 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)$