Make hc clear search and python history