1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-10 15:04:32 +03:00

docs: changelog and a little extra info about --config-file

refs: 459
This commit is contained in:
Wez Furlong 2021-02-07 09:31:41 -08:00
parent c576b9d534
commit 04bbfb4760
2 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,7 @@ the feature set may change. As features stabilize some
brief notes about them may accumulate here.
* Fonts: when computing default `font_rules` for bold and italic fonts, strip italic and bold components from the family name. eg: if you set `font = wezterm.font("Source Code Pro Medium")` then the ` Medium` text will be stripped from the font name used to locate bold and italic variants so that we don't report an error loading a non-sensical `Source Code Pro Medium Bold`. [#456](https://github.com/wez/wezterm/issues/456)
* Added `--config-file` CLI option to specify an alternate config file location. [Read more about config file resolution](config/files.md). Thanks to [@bew](https://github.com/bew)! [#459](https://github.com/wez/wezterm/pull/459)
### 20210203-095643-70a364eb

View File

@ -4,8 +4,13 @@
configuration file in the following locations, stopping at the first file that
it finds:
* (in the nightly builds) if the `--config-file` CLI argument was specified, then
that path will be used. If that path fails to load, then the defaults will be
used instead.
* If the environment variable `$WEZTERM_CONFIG_FILE` is set, it will be treated as the
path to a configuration file.
path to a configuration file. In the nightly builds: if that path fails to load
then the defaults will be used instead. In earlier releases, the following steps
would be used as a fallback.
* On Windows, `wezterm.lua` from the directory that contains `wezterm.exe`.
This is handy for users that want to carry their wezterm install around on a thumb drive.
* `$HOME/.config/wezterm/wezterm.lua`,