Only set prompt for interactive shells (avoid sftp problems).