diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-21 00:01:08 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-21 00:01:08 +0200 |
commit | b3c25c538629c912a371576d576b634244e07bac (patch) | |
tree | b6d9235e37785a9ad287b8758c92a8e640f0554e | |
parent | af9e32ecf836906f8c817dccaa7ea171ad404587 (diff) | |
download | mblaze-b3c25c538629c912a371576d576b634244e07bac.tar.gz mblaze-b3c25c538629c912a371576d576b634244e07bac.tar.xz mblaze-b3c25c538629c912a371576d576b634244e07bac.zip |
mless: set a less(1) prompt
-rwxr-xr-x | mless | 2 |
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 "$@") |