Changed prompt a bit

Prompt truncates the base directory of the current repo and puts
its basename on the right prompt.

Prompt option variables are now defaulted to local variables.