Hacker News new | past | comments | ask | show | jobs | submit login

I'm trying the example from the Readme, but running:

  $ rat --mode files --cmd 'ls -al'
..doesn't actually seem to be reading my .ratrc file. The command behaves the same whether I have a .ratrc or not. Is anybody else able to hit enter to preview a file? I'm on a Mac.



Also on a Mac. File preview works when .ratrc is present, otherwise just a file list and selector. Are you sure it's at ~/.config/rat/.ratrc ?


If it is in $XDG_CONFIG_HOME, why name the file with a leading dot? To me, that's a bit confusing.



Ah, that was my mistake. Thanks!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: