mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 05:48:49 +02:00
Comments, fix testcase problems found in 'toolkit check pr'
This commit is contained in:
@ -114,6 +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 => {
|
||||
// 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