b3e03c5b0d
Changes: - Clean ~/.bash_history file directly after in-memory cleaning - Handles commands from other terminal sessions - Ensures complete cleanup even if history not yet written Issue: - history -d only cleans current session's in-memory history - Commands from other sessions remain in ~/.bash_history file - User's curl command persisted because it was from different session Solution: - After history -w, also grep -Ev on the history file - Removes toolkit commands regardless of which session added them Tested: ✓ Pattern matches user's curl command format ✓ Extracts correct entry numbers