this post was submitted on 18 Jul 2024
270 points (98.6% liked)

Programmer Humor

19149 readers
1248 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
270
Which one??? (programming.dev)
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

Fuck it, .zshrc it is.

Image transcription:

  • Top text: I STILL DON'T KNOW WHAT SHOULD GO IN .*RC VERSUS .*PROFILE
  • Bottom text: AND AT THIS POINT I'M AFRAID TO ASK
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 month ago (1 children)

Presumably just to get rid of unnecessary stuff that would slow down the start of all bash instances. Also aliases that could fuck with scripts

[โ€“] [email protected] 1 points 1 month ago

This really triggered an itch in me and I'm having trouble finding answers. It sounds like .profile might get sourced by your desktop environment when you log in but I'm having trouble finding out one way or the other. Every search I make just ends up with people asking about shells.