2019-08-03 centos 基础运行环境
2019-08-03 本文已影响0人
Albert陈凯
= 安装脚本
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