mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
Exclude ./... from expansion (#5839)
* exclude ./... from expansion * use all instead of any * no path expansion for external arguments * clippy error * expand only tilde
This commit is contained in:
parent
f43a65d7a7
commit
3c0bccb900
1 changed files with 2 additions and 1 deletions
|
@ -414,7 +414,8 @@ impl ExternalCommand {
|
|||
item: trim_enclosing_quotes(&arg.item),
|
||||
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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue