CentOS 安装 oh-my-zsh 记录

给win装上了它的的改版 oh-my-posh, 那么 linux 原生的 oh-my-zsh 那一定更得装上吧!

搞起,

oh-my-zsh官方文档 https://github.com/ohmyzsh/ohmyzsh

dogenpunk

0x0001.安装zsh包

yum -y install zsh

0x0010切换默认shell为zsh

chsh -s /bin/zsh

0x0011.安装on my zsh

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

0x0100 修改主题

查看主题

ls ~/.oh-my-zsh/themes

Github 主题大全]

修改主题

vim ~/.zshrc

找到 ZSH_THEME=“robbyrussell” 修改名称即可

在这里插入图片描述

发布了160 篇原创文章 · 获赞 146 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_44510468/article/details/104701116