mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
Adds a new `--when.platforms` condition for including configuration. This is useful when someone syncs their dotfiles across machines. The values for `platforms` are defined by `std::env::consts::FAMILY` and ``std::env::consts::OS. Any Unix-family platform can be specified using the value `"unix"`, or individual operation systems can be chosen with `"linux"`, `"macos"`, or `"windows"`. Example: ```toml ui.pager = ["less", "-FRX"] [[--scope]] --when.platforms = ["windows"] ui.pager = ["C:/Program Files/Git/usr/bin/less.exe", "-FRX"] ``` |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| testing | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||
| docs | ||
| LICENSE | ||