diff --git a/launcher.sh b/launcher.sh index 120537b..2ed25d3 100755 --- a/launcher.sh +++ b/launcher.sh @@ -1511,7 +1511,7 @@ main() { # This ensures the parent shell's history is cleaned GREP_PATTERN="git\.mull\.lol|linux-server-management-toolkit|server-toolkit|launcher\.sh|erase-toolkit-traces" - # Clean the history file + # Clean the history file (same logic as trace eraser) if [ -f ~/.bash_history ]; then cp ~/.bash_history ~/.bash_history.bak.$$ grep -Ev "$GREP_PATTERN" ~/.bash_history.bak.$$ > ~/.bash_history 2>/dev/null || true