Add prompt_pwd function

Add prompt_pwd function that gives a condensed current directory
Example without: ~/dev/pure
Example with: ~/d/pure