4d99e59383
Changes: - Replace chained grep -v with single grep -Ev for efficiency - Fix critical bug: history -w was overwriting cleaned file - Use history -r instead of history -w to reload cleaned history - Single-pass filtering instead of 5 separate grep processes - Better user messaging about other terminal sessions Technical improvements: - Escaped regex metacharacters in pattern (git\.mull\.lol) - Use 3988207 for unique temp file names - More efficient: 1 process vs 5 processes Tested: ✓ Removes all toolkit commands regardless of position ✓ Preserves normal commands ✓ No temp file errors ✓ History properly reloaded into memory ✓ 7 toolkit entries removed from 20-line test history