mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Revert "Feature: PWD-per-drive to facilitate working on multiple drives at Windows" (#14598)
Reverts nushell/nushell#14411
This commit is contained in:
@ -87,7 +87,7 @@ impl Command for Cd {
|
||||
});
|
||||
}
|
||||
} else {
|
||||
let path = stack.expand_path_with(path_no_whitespace, &cwd, true);
|
||||
let path = nu_path::expand_path_with(path_no_whitespace, &cwd, true);
|
||||
if !path.exists() {
|
||||
return Err(ShellError::DirectoryNotFound {
|
||||
dir: path_no_whitespace.to_string(),
|
||||
|
Reference in New Issue
Block a user