mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 16:58:41 +01: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
@ -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 New Issue
Block a user