fix(xonsh): Ignore empty $ATUIN_HISTORY_ID in postcommand - #3562
Conversation
Fossier: Manual Review Requested
Score BreakdownTotal Score: 53.2/100 | Confidence: 100% | Outcome: REVIEW
|
Greptile SummaryFixes the xonsh postcommand hook to skip
Confidence Score: 5/5Single-line guard change with no side effects; straightforward and correct. The fix directly addresses the code path where No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix(xonsh): Ignore empty $ATUIN_HISTORY_..." | Re-trigger Greptile |
This PR makes xonsh behavior consistent with other shells:
atuin history endshould ignore $ATUIN_HISTORY_ID being undefined OR empty.$ATUIN_HISTORY_ID can be empty if
atuin history startfails, which happened to me in #3561.Checks