mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
wsl: default_cwd is now ~
This matches up better to most peoples expectations refs: https://github.com/wez/wezterm/issues/2826
This commit is contained in:
parent
73f50efb7f
commit
797d3819b7
@ -27,7 +27,7 @@ impl WslDomain {
|
||||
name: format!("WSL:{}", distro.name),
|
||||
distribution: Some(distro.name.clone()),
|
||||
username: None,
|
||||
default_cwd: None,
|
||||
default_cwd: Some("~".to_string()),
|
||||
default_prog: None,
|
||||
});
|
||||
}
|
||||
|
@ -161,6 +161,9 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
regression in an earlier release changed it by accident and it's been
|
||||
annoying me ever since. You are welcome to define your own [mouse
|
||||
bindings](config/mouse.md) if you want to change that behavior.
|
||||
* WSL Domains returned from
|
||||
[wezterm.default_wsl_domains](config/lua/wezterm/default_wsl_domains.md) now
|
||||
set `default_cwd="~"` [#2826](https://github.com/wez/wezterm/issues/2826)
|
||||
|
||||
#### Updated
|
||||
* Bundled harfbuzz updated to version 6.0.0
|
||||
|
@ -53,3 +53,8 @@ return {
|
||||
However, wez strongly recommends that you use `chsh` inside the WSL domain to make
|
||||
that the default shell if possible, so that you can avoid this additional configuration!
|
||||
|
||||
*Since: nightly builds only*
|
||||
|
||||
The `default_cwd` field is now automatically set to `"~"` to make it more
|
||||
convenient to launch a WSL instance in the home directory of the configured
|
||||
distribution.
|
||||
|
Loading…
Reference in New Issue
Block a user