pub use to simplify usage

This commit is contained in:
pegasus.cadence@gmail.com
2024-11-20 16:52:16 -08:00
parent 5dafde462a
commit 14b6da359a
5 changed files with 11 additions and 10 deletions

View File

@ -114,8 +114,7 @@ impl Command for Cd {
//FIXME: this only changes the current scope, but instead this environment variable
//should probably be a block that loads the information from the state in the overlay
PermissionResult::PermissionOk => {
use nu_path::pwd_per_drive::pwd_per_drive_singleton::set_pwd_per_drive;
let _as_is = set_pwd_per_drive(path.as_path());
let _ = nu_path::set_pwd_per_drive(path.as_path());
stack.set_cwd(path)?;
Ok(PipelineData::empty())
}