Ubuntu zsh shell 一站式解决方案

时间:2022-06-14 17:05:57
#!/bin/bash

sudo apt-get install zsh python -y
sudo apt-get install python-pip -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
pip install powerline-status --user git clone https://github.com/powerline/fonts.git --depth=1
./fonts/install.sh git clone https://github.com/fcamblor/oh-my-zsh-agnoster-fcamblor.git
./oh-my-zsh-agnoster-fcamblor/install chsh -s /bin/zsh
#将字体调整至Meslo LG S(配置文件首选项)
#背景图片随便找
#记得chmod a+x 该文件
#主题请至 ~/.zshrc 中的 ZSH-THEME处改为agnoster