美文网首页
2019-08-03 centos 基础运行环境

2019-08-03 centos 基础运行环境

作者: Albert陈凯 | 来源:发表于2019-08-03 16:34 被阅读0次

    = 安装脚本

    sudo yum update -y &
    sudo yum install -y zsh wget vim &
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" &
    cd
    git clone https://github.com/zsh-users/antigen.git ~/antigen
    
    wget https://download.opensuse.org/repositories/shells:zsh-users:antigen/CentOS_7/shells:zsh-users:antigen.repo
    sudo mv shells\:zsh-users\:antigen.repo /etc/yum.repos.d/
    
    sudo yum install -y antigen
    
    

    安装 antigen

    cd /etc/yum.repos.d/
    sudo wget https://download.opensuse.org/repositories/shells:zsh-users:antigen/CentOS_7/shells:zsh-users:antigen.repo
    sudo yum install -y antigen
    
    
    
    source ~/antigen/antigen.zsh
    
    antigen use oh-my-zsh
    
    antigen bundle git
    antigen bundle heroku
    antigen bundle pip
    antigen bundle lein
    antigen bundle command-not-found
    
    antigen bundle zsh-users/zsh-syntax-highlighting
    
    antigen bundle zsh-users/zsh-autosuggestions
    
    antigen bundle zsh-users/zsh-completions
    
    antigen theme robbyrussell
    
    antigen apply
    

    相关文章

      网友评论

          本文标题:2019-08-03 centos 基础运行环境

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