mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
Merge pull request #91 from nushell/list_completions
Use list completions and better expansion
This commit is contained in:
@ -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 => {
|
||||
|
Reference in New Issue
Block a user