mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 07:04:29 +00:00
Fix wildcard expansion doubling up "*/"
In some cases we add the wildcard twice. $ fish -c '../jj; complete -C"ls cli/*/conf/tem"' cli/*/*/config/templates.toml Fix that. Test in the next commit. There seems to be another bug in 3.7.1 where we fail to apply this completion to the command line. This appears fixed. (FWIW we might want to revert the quoting change in completion_apply_to_command_line(), maybe that one accidentally fix this). Fixes #10703
This commit is contained in:
parent
325b51aca0
commit
f8a720da8c
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ mod expander {
|
|||
&mut dir,
|
||||
wc_segment,
|
||||
wc_remainder,
|
||||
&(effective_prefix.to_owned() + wc_segment + L!("/")),
|
||||
effective_prefix,
|
||||
);
|
||||
} else {
|
||||
// Last wildcard segment, nonempty wildcard.
|
||||
|
|
Loading…
Reference in a new issue