mirror of
https://github.com/nushell/nushell.git
synced 2025-08-14 09:59:00 +02:00
Call set_pwd_per_drive() within stack::set_cwd()
This commit is contained in:
@ -114,8 +114,6 @@ 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 => {
|
||||
// Let PWD-per-drive sync with cd target
|
||||
let _ = nu_path::set_pwd_per_drive(path.as_path());
|
||||
stack.set_cwd(path)?;
|
||||
Ok(PipelineData::empty())
|
||||
}
|
||||
|
Reference in New Issue
Block a user