Use list completions and better expansion

This commit is contained in:
JT
2021-10-05 10:37:32 +13:00
parent 58b0e571d3
commit 7c2bf68d45
3 changed files with 16 additions and 16 deletions

View File

@ -28,7 +28,7 @@ impl Command for Cd {
let path = match path {
Some(path) => {
let path = nu_path::expand_tilde(path);
let path = nu_path::expand_path(path);
path.to_string_lossy().to_string()
}
None => {