johannesgerer / buchhaltung

Smart tools for the ledger universe
http://johannesgerer.com/buchhaltung
MIT License
97 stars 8 forks source link

Allow absolute path in config.yml #18

Closed jottr closed 6 years ago

jottr commented 7 years ago

I've tried to properly set up the path to my journal files in the relevant config.yml but found it difficult to do so.
Neither the documentation nor the config example make it obvious whether the mainLedger and imported keys expect absolute or relative paths.
I.e. I would like to point them to ~/jottr/.ledger/, but when using the k/v pair of mainLedger: ~/.ledger/, buchhaltung setup creates a subdirectory in ~/.buchhaltung/~/jottr/.ledger instead.

Is there a means to config buchhaltung with absolute paths?

johannesgerer commented 7 years ago

Absolute paths are supported, but unfortunately path aliases like the '~' are not supported currently. Use '/home/whatever' instead and it should work.

johannesgerer commented 6 years ago

Please reopen if the above does not fix your problem.