summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-21 00:01:08 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-21 00:01:08 +0200
commitb3c25c538629c912a371576d576b634244e07bac (patch)
treeb6d9235e37785a9ad287b8758c92a8e640f0554e
parentaf9e32ecf836906f8c817dccaa7ea171ad404587 (diff)
downloadmblaze-b3c25c538629c912a371576d576b634244e07bac.tar.gz
mblaze-b3c25c538629c912a371576d576b634244e07bac.tar.xz
mblaze-b3c25c538629c912a371576d576b634244e07bac.zip
mless: set a less(1) prompt
-rwxr-xr-xmless2
1 files changed, 1 insertions, 1 deletions
diff --git a/mless b/mless
index 72774e9..ae2176f 100755
--- a/mless
+++ b/mless
@@ -36,4 +36,4 @@ esac
 curcmd=$(mseq -n "$@" |
 	awk -v cur=$(mseq -n .) -v d=$d '$1 == cur {print "+" FNR+d ":x"; quit}')
 
-LESSOPEN="|$0 --filter %s" exec less -R $curcmd $(mseq -n "$@")
+LESSOPEN="|$0 --filter %s" exec less -Ps"mless %f?m (message %i of %m).." -R $curcmd $(mseq -n "$@")