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

Programmer Humor

19187 readers
1135 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
268
Which one??? (programming.dev)
submitted 2 months ago* (last edited 2 months ago) by JackbyDev@programming.dev to c/programmer_humor@programming.dev
 

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
[–] marcos@lemmy.world 0 points 2 months ago (1 children)

I just link one to the other and make sure it's idempotent.

[–] JackbyDev@programming.dev 2 points 2 months ago (1 children)

Easier said than done. Try echoing $PATH then running zsh then $PATH again. It's likely gotten bigger lol. I don't think it's a real problem though.

[–] marcos@lemmy.world 1 points 2 months ago (1 children)

Yeah, I may have a larger $PATH than required.

[–] JackbyDev@programming.dev 1 points 2 months ago

It doesn't really matter tbh, you shouldn't be arbitrarily running a shell in a shell (apart from command substitutions).