if statement for RPROMPT