Specify both "--config" and "--env-config"

This commit is contained in:
YizhePKU 2024-06-02 23:39:22 +00:00
parent 4bb195e36f
commit 3b59407cfb

View File

@ -52,7 +52,12 @@ fn command_hints_are_pwd_aware() {
// Create the PTY and the terminal.
let mut pty = pty_with_nushell(
vec!["--no-config-file", "--config", &nu_config_string],
vec![
"--config",
&nu_config_string,
"--env-config",
&nu_config_string,
],
Some(cwd.path().to_path_buf()),
);
let (mut term, mut events) = default_terminal();