Linux里装zsh

安装zsh

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

安装缺失的字体

Install powerline font

cd
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
mv PowerlineSymbols.otf ~/.fonts/
mkdir -p .config/fontconfig/conf.d #if directory doesn't exists

更新字体缓存

fc-cache -vf ~/.fonts/

移动config文件

mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/

编辑~.zsh

ZSH_THEME="agnoster"

Change theme colors to solarize
dconf is required if you don’t already have it.

sudo apt-get install dconf-cli
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solarized
cd ~/.solarized
./install.sh

你可能感兴趣的:(3,Linux)