;doc: add LEDGER_FILE tips to the ENVIRONMENT sections
(Probably too much.) [ci skip]
This commit is contained in:
parent
6878f74174
commit
6885dddd0e
@ -211,6 +211,22 @@ m4_define({{_LEDGER_FILE_}}, {{
|
|||||||
**LEDGER_FILE**
|
**LEDGER_FILE**
|
||||||
The journal file path when not specified with `-f`.
|
The journal file path when not specified with `-f`.
|
||||||
Default: `~/.hledger.journal` (on windows, perhaps `C:/Users/USER/.hledger.journal`).
|
Default: `~/.hledger.journal` (on windows, perhaps `C:/Users/USER/.hledger.journal`).
|
||||||
|
|
||||||
|
A typical value is `~/DIR/YYYY.journal`, where DIR is a version-controlled finance directory
|
||||||
|
and YYYY is the current year. Or `~/DIR/current.journal`, where current.journal is a symbolic
|
||||||
|
link to YYYY.journal.
|
||||||
|
|
||||||
|
On Mac computers, you can set this and other environment variables in a more thorough way
|
||||||
|
that also affects applications started from the GUI (say, an Emacs dock icon).
|
||||||
|
Eg on MacOS Catalina I have a `~/.MacOSX/environment.plist` file containing
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"LEDGER_FILE" : "~/finance/current.journal"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
To see the effect you may need to `killall Dock`, or reboot.
|
||||||
|
|
||||||
|
|
||||||
}} )m4_dnl
|
}} )m4_dnl
|
||||||
m4_dnl
|
m4_dnl
|
||||||
m4_dnl The _FLAGS marker is used in generating command help (see
|
m4_dnl The _FLAGS marker is used in generating command help (see
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user