1. $ git clone https://github.com/powerline/fonts.git --depth=1
    2. $ cd fonts
    3. $ ./install.sh

    之后就可以终端中选择 powerline 字体了,且使用 agnoster 主题后不会出现乱码。