

Depends on what it is. If it’s meant to be mainly used in the shell I will usually use whatever language the shell uses. Anything that’s run automatically usually gets done in bash for compatibility, and stuff more complicated than a few loops and some piping gets done in something easier to work with like python.
“Hey I have some mild sensory issues and loud noises stress me out when I’m trying to focus, do you mind if I shut this door?”