mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
docs(config): make the configuration reference the one owner of every option table
This commit is contained in:
@@ -355,13 +355,9 @@ Each command reports how many files it removed and how much space it freed, then
|
||||
|
||||
## Why is my config not being picked up?
|
||||
|
||||
unshackle loads the **first** `unshackle.yaml` it finds, in this order:
|
||||
unshackle loads the **first** `unshackle.yaml` it finds, in the order that [Where the config file lives](../getting-started/configuration-file.md#where-the-config-file-lives) gives.
|
||||
|
||||
1. `unshackle.yaml` inside the package's namespace directory.
|
||||
2. `unshackle.yaml` in the parent of that directory.
|
||||
3. `unshackle.yaml` in your OS user-config directory: on Linux `~/.config/unshackle/unshackle.yaml`, on Windows `%LOCALAPPDATA%\unshackle\unshackle.yaml`, on macOS `~/Library/Application Support/unshackle/unshackle.yaml`.
|
||||
|
||||
If you have config in more than one of these, an earlier one wins and unshackle silently ignores your edits to a later file. `unshackle env info` prints the path it loaded (or, if none exists, shows all three candidate locations so you can make the file correctly). See [Configuration](cli-reference.md#cfg) for editing values with the `cfg` command.
|
||||
If you have config in more than one of those locations, an earlier one wins and unshackle silently ignores your edits to a later file. `unshackle env info` prints the path it loaded (or, if none exists, shows every candidate location so you can make the file correctly). See [Configuration](cli-reference.md#cfg) for editing values with the `cfg` command.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user