ed241185d9
Added 'set +o history' to prevent the trace eraser commands from being re-added to history. Changes: • Disable history recording before cleaning (set +o history) • Clear in-memory history with history -c • Write empty history with history -w • Added note to run 'exec bash' for clean shell • Prevents script commands from being saved This ensures the last 10 entries are properly removed and the cleanup commands themselves don't get recorded.