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 协议》,转载必须注明作者和本文链接
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!