ubuntu 22.04配置powerline

发布时间 2023-06-02 17:48:21作者: 叕叒双又

1、安装python3和pip3

sudo apt install python3 python3-pip

2、安装powerline

sudo apt install powerline

3、配置powerline

#powerline config                                              
  powerline-daemon -q
  POWERLINE_BASH_CONTINUATION=1
  POWERLINE_BASH_SELECT=1
  . /usr/share/powerline/bindings/bash/powerline.sh

5、让配置文件生效

  source .bashrc