Commit 9c0c61e
committed
fix: fish empty partial quoting + bash standalone enum fallback
Address BugBot round 5 findings:
1. Fish: Quote $current so empty partial (TAB after space) is passed
as "" instead of being silently dropped by fish's empty-list
expansion, which would misinterpret the last preceding word.
2. Bash: Add standalone fallback for enum value lookup. For standalone
commands like 'sentry api --method', COMP_WORDS[2] is a flag not
a subcommand, so the cmd_subcmd_flag_values lookup fails. Now falls
back to cmd_flag_values.1 parent 6cd74f8 commit 9c0c61e
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
304 | 310 | | |
305 | 311 | | |
306 | 312 | | |
| |||
520 | 526 | | |
521 | 527 | | |
522 | 528 | | |
523 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
524 | 532 | | |
525 | 533 | | |
526 | 534 | | |
| |||
0 commit comments