Add the path to the prompt

The prompt can now show the current working directory, either as an
absolute (`%d`) or basename (`%D`). Useful if you change projects very,
very often.