You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is that files with these suffixes would be prioritized over others. However, what actually happens is that only the first suffix is prioritized. See https://asciinema.org/a/M3W6vObHVvm1Ldygwp3Qc352B for a quick demonstration with unzip, but this applies to all completions that use such a pattern.
This bug is reproducible even without third-party customizations.
Before:
* hand write arg parse
* only accepts one suffix
After:
* use `arg_parse` to parse args
* accepts multi suffixes
Closes#9611.
(cherry picked from commit aa65856)
System info
Bug
A common pattern in Fish completions is something like the following:
fish-shell/share/completions/unzip.fish
Lines 44 to 48 in 908da62
The idea is that files with these suffixes would be prioritized over others. However, what actually happens is that only the first suffix is prioritized. See https://asciinema.org/a/M3W6vObHVvm1Ldygwp3Qc352B for a quick demonstration with
unzip
, but this applies to all completions that use such a pattern.This bug is reproducible even without third-party customizations.
#8512 may be relevant.
The text was updated successfully, but these errors were encountered: