Skip to content
Browse files

;doc: add LEDGER_FILE tips to the ENVIRONMENT sections

(Probably too much.)

[ci skip]
  • Loading branch information
simonmichael committed Feb 7, 2020
1 parent 6878f74 commit 6885dddd0e314a782586372e98cecd72a3a851cb
Showing with 16 additions and 0 deletions.
  1. +16 −0 doc/common.m4
@@ -211,6 +211,22 @@ m4_define({{_LEDGER_FILE_}}, {{
The journal file path when not specified with `-f`.
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 The _FLAGS marker is used in generating command help (see

0 comments on commit 6885ddd

Please sign in to comment.
You can’t perform that action at this time.