3 ms·
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 beh
by akkartik 9y ago
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.
- lambda_tango 9y agoAlso 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 ?
- akkartik 9y agoAh, that was my mistake. Thanks!
- vthriller 9y agoIf it is in $XDG_CONFIG_HOME, why name the file with a leading dot? To me, that's a bit confusing.
- akkartik 9y agoI fixed it last night: https://github.com/ericfreese/rat/commit/73e4b90465 https://github.com/ericfreese/rat/commit/73e4b90465