Switching from zsh to bash on MacOS

Mac OSX 9 ก.พ. 2018

I switch between zsh and bash somewhat frequently. For a while, I used to have to source my bash_profile every switch. Then I found out you can (typically) do

exec bash --login

or just

exec bash -l



Just a middle-aged programmer, Can do many things but not the most.