puntonim / promptastic

A fantastic prompt for Bash
http://painl.es/promptastic/
Apache License 2.0
81 stars 16 forks source link

Fix PROMPT_CMD so it remembers the current working directory on OS X. Fix for #13 #14

Closed andradei closed 9 years ago

andradei commented 9 years ago

OS X has a file in /etc/bashrc that uses the variable PROMPT_COMMAND to set the current working directory when opening a new tab/window.

I don't know if Linux distros use it for the same purpose. But this PR fixes #13 on OS X, if this doesn't affect Linux Terminal, would you mind merging?

puntonim commented 9 years ago

Good job!