You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What advantage is there in using $COMMON_RULES_FILE (which will after all need to be changed each time you change the location of the common rules file) over an absolute path for the file, e.g., /home/sol/accounts/meta.journal ?
Just another related idea, what if $HLEDGER_DIR was special, and include looked under there as a fallback ? I was wanting HLEDGER_DIR for some other reason as well.
The downside is more magical behaviour, more complication, more ways for it to go wrong. Environment variables are notoriously not always there when you want them, and hard for non-experts to configure.
For managing a hierarchy of accounts and rules files, it would be great if I could do something like:
Instead of:
Because a relative path like
../../../common.rules
is fragile when things get moved around.The text was updated successfully, but these errors were encountered: