Giter Site home page Giter Site logo

Comments (6)

ccmywish avatar ccmywish commented on July 23, 2024

你好 @Maxinsomnia

抱歉给你带来了麻烦。

看了你的历史记录,我唯一怀疑的是 chsrc set brew 有问题,因为之前仅有一个人测试过 homebrew 的换源。我刚才审阅了代码,有一些环境变量写入了你的 ~/.zshrc~/.bashrc 中,所以请你协助检查一下 ~/.zshrc 文件。

然后检查一下你的 $PATH 是什么。

from chsrc.

Maxinsomnia avatar Maxinsomnia commented on July 23, 2024

感谢 @ccmywish

不好意思这么久才看到您的回复,通过link1link2的修复方法,删掉注入的配置之后就恢复正常了,目前还没发现什么问题。

是的,$PATH没有问题,如您所说,有一些变量进入~/.zshrc 文件,这是文件最后的配置信息。

image

from chsrc.

ccmywish avatar ccmywish commented on July 23, 2024

Hi @Maxinsomnia

我已经调整了代码。但是我看你的截图,不知道为什么~/.zshrc里写入的那几行末尾会是$,这是你截图的原因吗,还是文件内容就是那样?

你可下载试用最新版(通过README的链接下载),重新尝试chsrc set homebrew。现在chsrc默认会给你的~/.zshrc~/.bashrc备份,所以如果出现了问题,可以直接把备份的文件恢复过来。

from chsrc.

Maxinsomnia avatar Maxinsomnia commented on July 23, 2024

好的谢谢,那可能是因为我有尝试其他的修复手段?我也记不清了

from chsrc.

ccmywish avatar ccmywish commented on July 23, 2024

@Maxinsomnia

可以再帮忙测试一下结果吗?如果没问题的话,我准备发布 v0.1.7 了。届时可以直接通过 brew install chsrc 安装。

from chsrc.

Maxinsomnia avatar Maxinsomnia commented on July 23, 2024

from chsrc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.