mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
;doc: small fixes; remove mention of ancient setenv
This commit is contained in:
parent
fdea2e0bcd
commit
ef79537943
@ -254,10 +254,10 @@ On Windows computers, the default value is probably `C:\Users\YOURNAME\.hledger.
|
||||
You can change this by running a command like this in a powershell window
|
||||
(let us know if you need to be an Administrator, and if this persists across a reboot):
|
||||
```
|
||||
> setx LEDGER_FILE "C:\Users\MyUserName\finance\2021.journal"
|
||||
> setx LEDGER_FILE "C:\Users\MyUserName\finance\2023.journal"
|
||||
```
|
||||
|
||||
Or, change it in settings: see https://www.java.com/en/download/help/path.html.
|
||||
Or, change it in settings: see <https://www.java.com/en/download/help/path.html>.
|
||||
|
||||
}} )m4_dnl
|
||||
m4_dnl
|
||||
|
@ -342,10 +342,10 @@ hledger reads transactions from one or more data files.
|
||||
The default data file is `$HOME/.hledger.journal`
|
||||
(or on Windows, something like `C:\Users\YOURNAME\.hledger.journal`).
|
||||
|
||||
You can override this with the `$LEDGER_FILE` environment variable:
|
||||
You can override this with the `LEDGER_FILE` environment variable:
|
||||
|
||||
```shell
|
||||
$ setenv LEDGER_FILE ~/finance/2016.journal
|
||||
$ export LEDGER_FILE=~/finance/2023.journal
|
||||
$ hledger stats
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user