Fix PS1 on mac