0
我試圖通過鍵入~/scripts/recomposeUi.zsh
運行此腳本,但是當這樣做我收到以下錯誤:「找不到命令」
/Users/me/scripts/recomposeUi.zsh:2: command not found: dcrs
這裏是我的腳本,recomposeUi.zsh :
#!/bin/zsh
cd ~/myProject/ && npm run build && docker build -t wm . && cd ~/projectTwo/ && dcrs && cd ~/myProject/
這裏是我的.zshrc:
alias dcd='docker-compose down'
alias dcu='docker-compose up -d'
alias dcp='docker-compose pull'
alias dcrs='dcd && dcp; dcu'
什麼問題?