f7d1a47f7e
Changes: - Remove complex history -d loop (unreliable) - Clean file directly with grep -Ev only - Clear current session with history -c - Unset HISTFILE to prevent session from writing on exit - Disable histappend for current session Issue: - Complex history manipulation was unreliable - Current session kept re-adding commands on exit - history -w then grep -Ev was conflicting Solution: - Just clean the file, period - Unset HISTFILE so current session won't write anything - Tell user to exit immediately and start fresh shell Tested: ✓ File cleaned with grep -Ev ✓ HISTFILE unset prevents writing on exit