我真的不希望它能够docker-compose down在生产中运行。曾经。有没有办法在 zsh 中覆盖该命令,否则如果在生产服务器上运行只会抛出错误?
docker-compose down
我们尝试将该命令别名为其他命令,但没有成功。
zsh docker
docker ×1
zsh ×1