zsh 默認讀取 bash 配置
- 執行命令
vi ~/.zsh_profile
- 填入代碼
source ~/.bash_profile
並保存 - 執行命令
source ~/.zsh_profile
,ok
在“終端”喚起“訪達”
返回目錄
執行命令 open .
修改hosts
- 打開 hosts
sudo vi /etc/hosts
- 刷新 dns 緩存
sudo killall -HUP mDNSResponder;say DNS cache has been flushed
Error 解決方法
Error: Permission denied @ apply2files - …
執行命令解決
sudo chown -R $(whoami) $(brew --prefix)/*