How to make Less indicate location in percentage

前端 未结 6 1236
暗喜
暗喜 2020-12-14 09:39

I now aim to show the percentage sign also when you run, for example, the command

man emacs

If you run it, you get \'byte 3300\' for instan

6条回答
  •  不思量自难忘°
    2020-12-14 10:29

    I have this in my environment. It'll print - Lines X-Y of Z at the bottom, or at least as much of that information as it has.

    export LESS='-P?f%f - .?ltLine?lbs. %lt?lb-%lb.?L of %L.:?pt%pt\%:?btByte %bt:-...'
    

提交回复
热议问题