dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

For newest Mac OSX, PS1 doesn't change

Open wmleidy opened this issue 8 years ago • 1 comments

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

needs to become

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

and then it will work

wmleidy avatar Apr 07 '17 00:04 wmleidy

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.

misternu avatar Apr 07 '17 23:04 misternu