Because using zsh, rather than bash, so even after modify ~ / .bash_profile, reopen the closed terminal still need to re-use the source command.
Permanent solution is as follows:
vim ~/.zshrc
Edit mode, the first input line:
test -f ~/.bash_profile && source ~/.bash_profile
Then save and exit, then re-source it to make changes to take effect
source ~/.zshrc