Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/content/docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ On first run without shell integration, Worktrunk offers to install it. On first
## Environment variables

All user config options can be overridden with environment variables using the `WORKTRUNK_` prefix.
Invalid environment overrides are ignored with a warning; other valid overrides still apply.
An invalid override is reported with a warning. `wt list` skips it and still applies the other valid overrides; commands such as `wt switch`, `wt merge`, and `wt remove` stop with an error instead.

### Naming convention

Expand Down
2 changes: 1 addition & 1 deletion plugins/worktrunk/skills/worktrunk/reference/config.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion skills/worktrunk/reference/config.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2595,7 +2595,7 @@ On first run without shell integration, Worktrunk offers to install it. On first
## Environment variables

All user config options can be overridden with environment variables using the `WORKTRUNK_` prefix.
Invalid environment overrides are ignored with a warning; other valid overrides still apply.
An invalid override is reported with a warning. `wt list` skips it and still applies the other valid overrides; commands such as `wt switch`, `wt merge`, and `wt remove` stop with an error instead.

### Naming convention

Expand Down
6 changes: 3 additions & 3 deletions src/config/user/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ pub use sections::{
pub enum LoadError {
/// A file parser failed, retaining its source and raw diagnosis.
File(super::ConfigParseError),
/// Config files parsed cleanly; applying env-var overrides failed.
/// `vars` lists the exact `WORKTRUNK_*` env vars that were parsed
/// as `(name, value)` pairs.
/// An env-var override setting was rejected; other settings' overrides
/// may still apply. `vars` lists the `WORKTRUNK_*` env vars forming the
/// rejected setting as `(name, value)` pairs.
Env {
err: String,
vars: Vec<(String, String)>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ On first run without shell integration, Worktrunk offers to install it. On first
Environment variables

All user config options can be overridden with environment variables using the WORKTRUNK_ prefix.
Invalid environment overrides are ignored with a warning; other valid overrides still apply.
An invalid override is reported with a warning. wt list skips it and still applies the other valid overrides; commands such as wt switch, wt merge, and wt remove stop with an error instead.

Naming convention

Expand Down
Loading