Closed Maxinsomnia closed 4 days ago
你好 @Maxinsomnia
抱歉给你带来了麻烦。
看了你的历史记录,我唯一怀疑的是 chsrc set brew
有问题,因为之前仅有一个人测试过 homebrew
的换源。我刚才审阅了代码,有一些环境变量写入了你的 ~/.zshrc
与 ~/.bashrc
中,所以请你协助检查一下 ~/.zshrc
文件。
然后检查一下你的 $PATH
是什么。
Hi @Maxinsomnia
我已经调整了代码。但是我看你的截图,不知道为什么~/.zshrc
里写入的那几行末尾会是$
,这是你截图的原因吗,还是文件内容就是那样?
你可下载试用最新版(通过README的链接下载),重新尝试chsrc set homebrew
。现在chsrc
默认会给你的~/.zshrc
和~/.bashrc
备份,所以如果出现了问题,可以直接把备份的文件恢复过来。
好的谢谢,那可能是因为我有尝试其他的修复手段?我也记不清了
@Maxinsomnia
可以再帮忙测试一下结果吗?如果没问题的话,我准备发布 v0.1.7
了。届时可以直接通过 brew install chsrc
安装。
不好意思,我这边已经修复好了,没有办法复现bug和测试你的新代码,但我理解上是对的发自我的iPhone------------------ 原始邮件 ------------------发件人: ccmywish @.>发送时间: 2024年6月24日 20:53收件人: RubyMetric/chsrc @.>抄送: Insomniaguo @.>, Mention @.>主题: Re: [RubyMetric/chsrc] 执行chsrc后,mac终端出现zsh: command not found 报错 (Issue #34) @Maxinsomnia 可以再帮忙测试一下结果吗?如果没问题的话,我准备发布 v0.1.7 了。届时可以直接通过 brew install chsrc 安装。
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/RubyMetric/chsrc/issues/34#issuecomment-2186512388", "url": "https://github.com/RubyMetric/chsrc/issues/34#issuecomment-2186512388", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
问题如图,尝试history中的修复方式无效,请问该怎么办