nu-cli/completions: complete external args as filepath (#5385)

This commit is contained in:
Herlon Aguiar
2022-04-30 22:07:09 +02:00
committed by GitHub
parent 7c6f976d65
commit 3df03e2e6d

View File

@ -175,7 +175,9 @@ impl NuCompleter {
pos,
);
}
FlatShape::Filepath | FlatShape::GlobPattern => {
FlatShape::Filepath
| FlatShape::GlobPattern
| FlatShape::ExternalArg => {
let mut completer = FileCompletion::new(self.engine_state.clone());
return self.process_completion(