美文网首页
MAC系统配置iterm2 + oh my zsh + oh m

MAC系统配置iterm2 + oh my zsh + oh m

作者: kx叔 | 来源:发表于2018-11-02 17:47 被阅读13次

    一、iterm2

    官网:https://www.iterm2.com
    下载主题:https://github.com/mbadolato/iTerm2-Color-Schemes

    二、安装oh my zsh

    官网:https://ohmyz.sh/

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    

    三、安装PowerLine

    官网:https://powerline.readthedocs.io/en/latest/installation.html

    pip install powerline-status --user
    

    如果没有安装pip

    sudo easy_install pip
    

    四、安装PowerFonts

    # git clone
    
    git clone https://github.com/powerline/fonts.git --depth=1
    
    # cd to folder
    
    cd fonts
    
    # run install shell
    
    ./install.sh
    

    五、安装oh-my-zsh主题

    地址:https://github.com/robbyrussell/oh-my-zsh/wiki/Themes

    # 1. 编辑配置文件
    vi ~/.zshrc
    # 2.修改Themes,我用的bira
    # 3.重新载入配置文件
    source ~/.zshrc
    

    六、安装Home brew

    官网:https://brew.sh/index_zh-cn.html

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    

    这个时候可能在安装的时候,一直装不上Xcode Command Line Tools
    可选方法:

    1. 运行 xcode-select --install 然后点击安装
    2. 登录https://developer.apple.com/download/more/ 然后下载dmg 安装

    相关文章

      网友评论

          本文标题:MAC系统配置iterm2 + oh my zsh + oh m

          本文链接:https://www.haomeiwen.com/subject/bqtcxqtx.html