mac重啓iterm後不會自動加載.bash_profile

我用的zsh,因爲平時設置的環境變量都是在.bash_profile文件中,每次重啓iterm後,都須要重啓手動加載.bash_profile文件,很麻煩。web 設置自動加載.bash_profile的方法以下: 在.zshrc配置文件中調用.bash_profile文件 打開zsh的配置文件.zshrc,在最後面添加一行代碼source /Users/mymac/.bash_profile(也
相關文章
相關標籤/搜索