diff --git a/launcher.sh b/launcher.sh index 8984460..ab242f2 100755 --- a/launcher.sh +++ b/launcher.sh @@ -1503,6 +1503,16 @@ main() { 9) edit_config ;; 10) bash "$BASE_DIR/tools/erase-toolkit-traces.sh" ;; 0) + echo "" + echo -e "${YELLOW}Clean bash history before exiting?${NC}" + echo "This will remove all toolkit-related commands from history." + echo "" + read -p "Clean history? (yes/no): " clean_hist + + if [ "$clean_hist" = "yes" ]; then + bash "$BASE_DIR/tools/erase-toolkit-traces.sh" + fi + echo "" echo -e "${GREEN}Thanks for using Server Management Toolkit!${NC}" echo ""