gpt4 book ai didi

zsh - : 39: source: not found While installing oh-my-zsh

转载 作者:行者123 更新时间:2023-12-02 06:14:57 25 4
gpt4 key购买 nike

在我的 Ubuntu 12.04 LTS 上,我尝试按照 github oh-my-zsh 项目页面上找到的命令安装 oh-my-zsh。

wget --no-check-certificate <a href="https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh" rel="noreferrer noopener nofollow">https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh</a> -O - | sh

但是我收到以下错误。尝试使用 sudo,结果相同。


Looking for an existing zsh config...
Found ~/.zshrc. [0;32]Backing up to ~/.zshrc.pre-oh-my-zsh
Using the Oh My Zsh template file and adding it to ~/.zshrc
Copying your current PATH and adding it to the end of ~/.zshrc for you.
Time to change your default shell to zsh!
Password: chsh: PAM authentication failed
__ __<br/>
<strong>__ / /_ _<em></em></strong><em> _</em>_ __ __ <strong>__ <em>_</em></strong>/ /_<br/>
/ __ / __ \ / __ `__ / / / / /_ / / <strong><em>/ _</em> \
/ /<em>/ / / / / / / / / / / /</em>/ / / /<em>(</em></strong><em> ) / / /
_</em><strong>/<em>/ /</em>/ /<em>/ /</em>/ /<em>/_</em>, / /<em></em></strong><em>/</em><strong><em>/</em>/ /<em>/<br/>
/</em>_</strong>/



....is now installed.
sh: 39: source: not found

有什么建议吗?谢谢。

最佳答案

错误sh:39:源:未找到只是问题的一部分。您发布的输出还表明与更改默认 shell 相关的问题:密码:chsh:PAM 身份验证失败

报告同样的问题in this issue .

您应该按照oh-my-zsh github page上提供的手动安装步骤进行操作。 (或here)。

关于zsh - : 39: source: not found While installing oh-my-zsh,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13313087/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com