After doing the
bbedit ~/.zshrc followed by
source ~/.zshrc a few times, I realized I could write this alias to speed things up a bit:
alias zshconf='bbedit -w ~/.zshrc && source ~/.zshrc'
What this does is opens my
zshrc in BBEdit, waits for me to edit the file, and then sources it once I’m done. The
-w is the wait flag for the BBEdit command line tool, but most other editors I’ve used have something similar you could use.