hpdeifel / hledger-iadd

A terminal UI as drop-in replacement for hledger add.
BSD 3-Clause "New" or "Revised" License
77 stars 8 forks source link

Respect default commodity directive provided via include files #67

Open the-solipsist opened 2 years ago

the-solipsist commented 2 years ago

Currently, if there's a default commodity directive it has to be present in the $LEDGER_FILE. If the directive is present in one of the files included via include, that doesn't work.

It'd be desirable for a D directive to be respected even if present via an include file.