在 zsh 终端中运行 Drush

从 Mojave 升级到 macOS Catalina 后,默认终端改为 zsh。

在 zsh 中运行 drush 的方法:

  1. 打开您的 .bash_profile 文件
  2. 将内容复制到 .zprofile
  3. 重启终端