mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-03 15:40:32 +00:00
mless: set a less(1) prompt
This commit is contained in:
parent
af9e32ecf8
commit
b3c25c5386
2
mless
2
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 "$@")
|
||||
|
Loading…
Reference in New Issue
Block a user