logoalt Hacker News

simonwyesterday at 3:03 PM0 repliesview on HN

... this inspired me to try using a "rg --pre" script to help reformat my JSONL sessions for a better experience. This prototype seems to work reasonably well: https://gist.github.com/simonw/b34ab140438d8ffd9a8b0fd1f8b5a...

Use it like this:

  cd ~/.claude/projects
  rg --pre cc_pre.py 'search term here'