ThePhD

Living disaster, ready to strike!

✨ Somehow Is A C Expert ✨ Smooches Unicode-kun 💕 Pixel Art is Cool 🎨 Banner by Bugurri and Avatar by KIING KIISMET


ThePhD
@ThePhD

... and I have NO fucking idea where it came from and I am not allowed to get rid of it.

What in the fucking world??


ThePhD
@ThePhD

... it's built-in and I can't remove it and its also at the top of everything so it's time to hack my .zshrc and my paths to make sure it NEVER finds this old crap garbage ever again.

This also reminds me I need to change my blog tech already and stop using goddamn Jekyll.


ThePhD
@ThePhD

Apple does things a little differently so it's best to be aware of this. Specifically, Terminal initially opens both a login and interactive shell even though you don't authenticate (enter login credentials).

What the fuck is going on at AppleHQ.

And then it STOPS being both a login and interactive shell, and is only considered one and not both!

This means I need to make a .zprofile with the same contents as my .zshrc??


You must log in to comment.

in reply to @ThePhD's post:

It's always been there and you've only just noticed it! I'm impressed that they've been security patching an EOL version all this time tho...

At least on OS X, it was not possible to disable it or override with a new version because programs did actually use it and break without the system copy.

in reply to @ThePhD's post:

in reply to @ThePhD's post:

And then it STOPS being both a login and interactive shell, and is only considered one and not both!

uh, it shouldn't? According to the flags from echo "$-", the zsh process in a new Terminal.app window is both an interactive (i) and login (l) shell.

This means I need to make a .zprofile with the same contents as my .zshrc??

.zshrc gets run for all interactive zsh shells, regardless of whether it's a login shell, according to all documentation I can find... If .zprofile exists, it gets run for login shells in addition to .zshrc. It was bash where you have to manually source .bashrc from .bash_profile, if I remember correctly.