this post was submitted on 18 Jul 2024
267 points (98.5% liked)

Programmer Humor

19149 readers
1218 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
267
Which one??? (programming.dev)
submitted 1 month ago* (last edited 1 month 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
[–] gamma@programming.dev 1 points 1 month ago* (last edited 1 month ago)

Yeah, I'd write this as a single update script with options to update vimplugins or update pkg or update all.

I see that you want it to be a function so you can get the chdir as a side effect, but mixing that with updating doesn't make sense to me.