diff options
author | Cédric Barreteau <unknown> | 2020-08-22 15:38:41 +0200 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2020-08-28 11:05:34 -0700 |
commit | c79674649dee7577d6061e3d0776922257520fd0 (patch) | |
tree | 305e466debaeb36e3ea49a37e952498602eb88e4 /doc/ledger.1 | |
parent | 718ba0e3139d365ffb7883cb2c937cfe23656506 (diff) | |
download | fork-ledger-c79674649dee7577d6061e3d0776922257520fd0.tar.gz fork-ledger-c79674649dee7577d6061e3d0776922257520fd0.tar.bz2 fork-ledger-c79674649dee7577d6061e3d0776922257520fd0.zip |
Add support for `$XDG_CONFIG_HOME`
`$XDG_CONFIG_HOME/ledger/ledgerrc` and `$HOME/.config/ledger/ledgerrc`
are tried first when looking for an init file.
Diffstat (limited to 'doc/ledger.1')
-rw-r--r-- | doc/ledger.1 | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index 032cff02..f1fad3f6 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -965,16 +965,12 @@ report. Allow the user to specify what account name should be used for unrealized gains. Defaults to .Sy "Equity:Unrealized Gains" . -Often set in one's -.Pa ~/.ledgerrc -file to change the default. +Often set in one's init file to change the default. .It Fl \-unrealized-losses Allow the user to specify what account name should be used for unrealized losses. Defaults to .Sy "Equity:Unrealized Losses" . -Often set in one's -.Pa ~/.ledgerrc -file to change the default. +Often set in one's init file to change the default. .It Fl \-unround Perform all calculations without rounding and display results to full precision. @@ -1445,6 +1441,8 @@ on the command-line. Options on the command-line always take precedence over environment variable settings, however. .Sh FILES .Bl -tag -width -indent +.It Pa $XDG_CONFIG_HOME/ledger/ledgerrc +.It Pa ~/.config/local/ledgerrc .It Pa ~/.ledgerrc Your personal .Nm |