Hi Richard,
> omitting the initial "--". It would be nice to see an example
> configuration file,
To quote from the manual:
--init-file FILE
-i FILE
Causes FILE to be read by ledger before any other ledger file. This
file may not contain any postings, but it may contain option settings.
To specify options in the init file, use the same syntax as on the
command-line, but put each option on its own line. Here is an example
init file:
--price-db ~/finance/.pricedb
--wide
; ~/.ledgerrc ends here
Option settings on the command-line or in the environment always take
precedence over settings in the init file."
(http://ledger-cli.org/3.0/doc/ledger3.html#index-_002d_002dinit_002dfile-FILE-2)
> It does not seem to be specified
> in the man page, or the manual, but I am assuming ledger looks for
> ~/.config/ledger/config or ~/.config/ledger.conf or ~/.ledger/config or
> similar.
It's ~/.ledgerrc
(http://ledger-cli.org/3.0/doc/ledger3.html#index-_002d_002dinit_002dfile-FILE-1)
Cheers,
Alexis
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.