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?
OS X has a file in
/etc/bashrc
that uses the variable PROMPT_COMMAND to set thecurrent 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?