Skip to content

Commit 95ca8c5

Browse files
authored
Merge pull request #272 from oclif/mdonnalley/fix-env-vars
chore: update config.md
2 parents 2ece949 + cb3f3ad commit 95ca8c5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/config.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@ Inside a command, `this.config` provides access to the `Config` class, which con
1212
- macOS: `~/Library/Caches/mycli`
1313
- Unix: `~/.cache/mycli`
1414
- Windows: `%LOCALAPPDATA%\mycli`
15-
- Can be overridden with `XDG_CACHE_HOME`
15+
- Can be overridden with `<CLI>_CACHE_HOME`, where `<CLI>` is the name of your CLI.
16+
- On linux systems, you can use `XDG_CACHE_HOME` to override
1617
- **configDir** - CLI config directory
1718
- Unix: `~/.config/mycli`
1819
- Windows: `%LOCALAPPDATA%\mycli`
19-
- Can be overridden with `XDG_CONFIG_HOME`
20+
- Can be overridden with `<CLI>_CONFIG_HOME`, where `<CLI>` is the name of your CLI.
21+
- On linux systems, you can use `XDG_CONFIG_HOME` to override
2022
- **dataDir** - CLI data directory
2123
- Unix: `~/.data/mycli`
2224
- Windows: `%LOCALAPPDATA%\mycli`
23-
- Can be overridden with `XDG_DATA_HOME`
25+
- Can be overridden with `<CLI>_DATA_HOME`, where `<CLI>` is the name of your CLI.
26+
- On linux systems, you can use `XDG_DATA_HOME` to override
2427
- **dirname** - dirname used with `cacheDir|configDir|dataDir`. Can be overridden in `package.json`.
2528
- **errlog** - path to error log inside of `cacheDir`
2629
- **home** - user home directory

0 commit comments

Comments
 (0)