Macos iTerm2 oh-my-zsh 安装使用相关
Macos iTerm2 oh-my-zsh 安装命令失败
问题
# 运行 sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # 报错 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
解决方案
git 下载~ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh ~ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc ~ chsh -s /bin/zsh # 切换 zsh
手动设置语言环境
问题描述
# 安装完成 zsh git 命令报错 /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
解决
# vim ~/.zshrc export LANG=en_US.UTF-8
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: