Add chpwd() escape sequence method for OSX terminal