Change the prompt depending on `filter' value.