1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-13 12:56:22 +02:00

Exclude ./... from expansion ()

* exclude ./... from expansion

* use all instead of any

* no path expansion for external arguments

* clippy error

* expand only tilde
This commit is contained in:
Fernando Herrera
2022-06-22 22:00:30 -05:00
committed by GitHub
parent f43a65d7a7
commit 3c0bccb900

@ -414,7 +414,8 @@ impl ExternalCommand {
item: trim_enclosing_quotes(&arg.item), item: trim_enclosing_quotes(&arg.item),
span: arg.span, span: arg.span,
}; };
arg.item = nu_path::expand_to_real_path(arg.item)
arg.item = nu_path::expand_tilde(arg.item)
.to_string_lossy() .to_string_lossy()
.to_string(); .to_string();