Repository navigation
Commit cc9837c
fix(shared): login-shell environment probe ignores DEBUG trap output
A DEBUG trap that echoes $BASH_COMMAND into the terminal title (a common
.bashrc snippet) printed every probe command, markers included, before it
ran, so PATH and XDG_DATA_HOME came back as trap noise. The probe now clears
the DEBUG trap before printing any marker. Nushell has no DEBUG trap and is
left unchanged.
Fixes #32637
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent c0fc3d3 commit cc9837c
1 file changed
Lines changed: 4 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
252 | 255 | | |
253 | 256 | | |
254 | 257 | | |
| |||
0 commit comments