Why do you need to source .zshrc for every new shell in iTerm?
问题 I've used Iterm2 with zsh everyday for the past 3 years, but I got a new computer and had to set it up again. The problem is that when I run ~/.zshrc it works fine, but I have to do it on every new terminal window I open. Not a good experience. I noticed that I don't have any bashrc , bash_profile , or profile (dot)files on my new machine. Here's the code in ~/.zshrc : export ZSH=/Users/healy/.oh-my-zsh plugins=( git ) ZSH_THEME="agnoster" source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions