I commented out the:
export LEDGER_FILE=$HOME/ledger.dat
in my ~/.profile and the errors have disappeared and everything appears to 
be working correctly.
What I don't understand is that I have had those 2 lines in ~/.profile ever 
since I started using ledger 
over a year ago with no problem.

In any case, thanks for your assistance.

On Sunday, June 19, 2022 at 10:12:54 AM UTC-5 [email protected] wrote:

> On Sun, 19 Jun 2022 at 20:28, Oliver Hardy <[email protected]> wrote:
>
> > In my ~/.profile I have the lines:
> > export LEDGER_FILE=$HOME/Accounts.dat
> > export LEDGER_FILE=$HOME/ledger.dat
>
> This does not make much sense. You’re setting an environment variable
> to point at one file, then reassign it to point at a different file.
> Only the latter assignment takes effect.
>

-- 

--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/ad8a91fd-2a4f-4cbb-a861-7d2f37176218n%40googlegroups.com.

Reply via email to