Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For newest Mac OSX, PS1 doesn't change #28

Open
wmleidy opened this issue Apr 7, 2017 · 1 comment
Open

For newest Mac OSX, PS1 doesn't change #28

wmleidy opened this issue Apr 7, 2017 · 1 comment

Comments

@wmleidy
Copy link

wmleidy commented Apr 7, 2017

if [ $OSTYPE == 'darwin15' ] && ! [ $ITERM_SESSION_ID ]

needs to become

if [ $OSTYPE == 'darwin16' ] && ! [ $ITERM_SESSION_ID ]

and then it will work

@misternu
Copy link
Contributor

misternu commented Apr 7, 2017

That wouldn't work for el cap people then. Whatever it is we do, the semicolon needs to not be there for darwin<15 and linux by default, and then we do add the semicolon for those two exceptions, El Cap and Sierra. If we can figure out why Terminal started getting confused without the semicolon, and write a ps1 line for everybody, we can skip the boolean all together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants