2 ms·
Per File .lesshst
Is there a way of saving vi-style "marks" with a file so that each time I open the file, I have the marks I set the last time.
This just saves the less search history for the file, so each time I open the file I have the searches I have made previously.
x=${0##*/};
y=${0%/*};
z=$y/.lesshst.$x;
exec xz -dc x/big.txt.xz |LESSHISTFILE=$z less -G --no-histdups