Commit e04e7b6
fix(bash): decide auto-approval from the parsed command, not its prefix
Reapplies the change reverted in charmbracelet#3565 (revert of charmbracelet#3426), unchanged.
The original PR was merged before @meowgorithm had finished checking it
against @taciturnaxolotl's sysadmin mode, so it was reverted to take main
back to a known state. This restores the branch as a live PR so that
review can finish before it lands a second time.
The tree for the four touched files is byte-identical to the post-charmbracelet#3426
state; no behavior was changed while it was out.
Co-authored-by: joestump-agent <joestump-agent@users.noreply.github.com>
Assisted-by: Claude Opus 51 parent 240c487 commit e04e7b6
4 files changed
Lines changed: 736 additions & 114 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
512 | 519 | | |
513 | 520 | | |
514 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 209 | + | |
222 | 210 | | |
223 | 211 | | |
224 | 212 | | |
225 | 213 | | |
226 | 214 | | |
227 | | - | |
| 215 | + | |
228 | 216 | | |
229 | 217 | | |
230 | 218 | | |
| |||
0 commit comments