keep old prompt on non-git repository folders
move configuration of git_prompt_dir inside a function
apply git prompt only on directories belonging to a git repository
Merge branch 'magicmonty'
Merge pull request #16 from maddingo/master

put git_prompt_dir in a function and apply gitprompt only to git repositories