C:\Users\win10的用户名\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\home\linux用户名

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

05-11 09:42