JackbyDev@programming.dev to Programmer Humor@programming.devEnglish · edit-24 months agoWhich one???programming.devimagemessage-square28fedilinkarrow-up1196arrow-down11file-text
arrow-up1195arrow-down1imageWhich one???programming.devJackbyDev@programming.dev to Programmer Humor@programming.devEnglish · edit-24 months agomessage-square28fedilinkfile-text
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
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up10arrow-down1·4 months agoSo, assuming bash is your shell, the ~/.bash_profile is executed for login shells for the user logging in. ~/.bashrc is the initialization script for when starting a bash session (for the current user). In my experience, the ~/.bashrc will also execute ~/.bash_profile if it exists. So you can use either.
So, assuming bash is your shell, the ~/.bash_profile is executed for login shells for the user logging in.
~/.bashrc is the initialization script for when starting a bash session (for the current user).
In my experience, the ~/.bashrc will also execute ~/.bash_profile if it exists. So you can use either.