Enable the customization of the default prompt character

This will enable to use something else than `$` as the prompt char if the user is not in a git/hg repo. Just pass the custom character to the `prompt_char` function.