mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 22:57:58 +02:00
Call set_pwd_per_drive() within stack::set_cwd()
This commit is contained in:
@ -858,8 +858,6 @@ fn do_auto_cd(
|
||||
report_shell_error(engine_state, &err);
|
||||
return;
|
||||
};
|
||||
// Let PWD-per-drive sync with auto_cd target
|
||||
let _ = nu_path::set_pwd_per_drive(PathBuf::from(path.clone()).as_path());
|
||||
let cwd = Value::string(cwd, span);
|
||||
|
||||
let shells = stack.get_env_var(engine_state, "NUSHELL_SHELLS");
|
||||
|
Reference in New Issue
Block a user