vcs_prompt(): Build and print a prompt string