mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 18:27:46 +02:00
pub use to simplify usage
This commit is contained in:
@ -858,8 +858,7 @@ fn do_auto_cd(
|
||||
report_shell_error(engine_state, &err);
|
||||
return;
|
||||
};
|
||||
use nu_path::pwd_per_drive::pwd_per_drive_singleton::set_pwd_per_drive;
|
||||
let _as_is = set_pwd_per_drive(PathBuf::from(path.clone()).as_path());
|
||||
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