在 Ubuntu 上安裝 powerline


Posted by Calon on 2022-04-26

  1. 使用下面指令安裝:
    $ sudo apt update && sudo apt install powerline fonts-powerline
    
  2. 安裝軟件包後,必須修改 .bashrc 文件,這段是在檢查安裝路徑中是否存在文件 powerline.sh:
    if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
    source /usr/share/powerline/bindings/bash/powerline.sh
    fi
    
  3. 保存退出後,重新啟動終端機。

參考資料

#linux







Related Posts

出現 404 無法登入錯誤訊息畫面

出現 404 無法登入錯誤訊息畫面

 建立屬於你的 Google Map 地圖標記(四) - 建立可拖曳的地圖標記

建立屬於你的 Google Map 地圖標記(四) - 建立可拖曳的地圖標記

JQ總務處|初探|深入淺出jQuery

JQ總務處|初探|深入淺出jQuery


Comments