Why do my environment variables keep getting wiped out in Mac OS Catalina?
You need to create a file ~/.zshrc and put your export statements in there. The shell does not magically remember what you exported last time. You will need to put them in a file that will get sourced each time you start your shell, such as .zshrc.