sudo apt install powerline
wget https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf
mv PowerlineSymbols.otf .local/share/fonts/
cd .local/share/
mkdir fonts
sudo fc-cache -f -v
wget https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf
mkdir -p .config/fontconfig/fonts.conf
mv 10-powerline-symbols.conf .config/fontconfig/fonts.conf
cd /usr/share/powerline/bindings/bash/
POWERLINE_SCRIPT=/usr/share/powerline/bindings/bash/powerline.sh
if [ -f $POWERLINE_SCRIPT ]; then
source $POWERLINE_SCRIPT
fi
所有评论(0)