centos 安装zsh

By | 2020 年 2 月 21 日

yum install zsh
chsh -s /bin/zsh
curl -L git.io/antigen > antigen.zsh
mkdir antigen
mv antigen.zsh ./antigen
vim ~/.zshrc

# 注意这里需要输入你的 antigen.zsh 文件路径
source ~/antigen/antigen.zsh

# Load the oh-my-zsh's library.
antigen use oh-my-zsh

# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle heroku
antigen bundle pip
antigen bundle lein
antigen bundle command-not-found

# Auto completions bundles.
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions

# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting

# Load the theme.
antigen theme robbyrussell

# Tell Antigen that you're done.
antigen apply

保存文件后退出,然后运行source ~/.zshrc

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据