forked from extern/nushell
Only requote path arguments. (#2471)
This commit is contained in:
parent
dd4351e2b7
commit
60ce497edc
@ -76,15 +76,16 @@ impl NuCompleter {
|
||||
"cd" => select_directory_suggestions(completed_paths),
|
||||
_ => completed_paths,
|
||||
}
|
||||
.into_iter()
|
||||
.map(|suggestion| Suggestion {
|
||||
replacement: requote(suggestion.replacement),
|
||||
display: suggestion.display,
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
||||
LocationType::Variable => Vec::new(),
|
||||
}
|
||||
.into_iter()
|
||||
})
|
||||
.map(|suggestion| Suggestion {
|
||||
replacement: requote(suggestion.replacement),
|
||||
display: suggestion.display,
|
||||
})
|
||||
.collect();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user