Prevent history additions when prompt(3) is configured to be silent.