less
used to save my search history to $HOME/.lesshst
. A few days ago it stopped saving any new search patterns. I still see the old search patterns in $HOME/.lesshst
, but the new ones are not saved there anymore.
I tried adding something to .lesshst
manually. The added words became visible in less (hit /
and then UpArrow
). So, the .lesshst
file is writable, but less
itself cannot save patterns in there, perhaps.
What could be the issue? How to fix it?
This less
is running in GitBash on Windows 10.