zsh: command not found: swag
查看是否存在 swag 执行文件
$ cd ~/go/bin $ ls -rwxr-xr-x 1 staff staff 13M 10 29 09:58 swag
检查 ~/.zshrc 没有引入go的执行路径,修改加入
export PATH="/Users/XXX/go/bin:$PATH"
再导入
source ~/.zshrc
香菇那个蓝瘦,这是一条被采纳的回帖
蓝瘦那个香菇,这是一条没被采纳的回帖
宠物免费领养小程序,欢迎来踩