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)/*