Powerline - 美化Bash和Vim的状态提示栏

  • 原创
  • Madman
  • /
  • /
  • 0
  • 12661 次阅读

Powerline - 美化Bash和Vim的状态提示栏-min.png

Synopsis: Powerline是一个stateless status line,即一个全局状态/提示栏插件。这个插件是使用 Python 开发的,主要用于显示状态行和提示信息,适用于很多软件。如果你成功为你的bash、zshl、tmux或vim配置上Powerline的话,那么效果将会非常漂亮。它的主要特点为,使用 python 编写,使其更具扩展性且功能丰富;稳定易测的代码库,兼容 python 2.6+ 和 python 3;支持多种 Linux 功能及工具的提示和状态栏;通过 JSON 保存配置和颜色方案;快速、轻量级,具有后台守护进程支持,提供更佳的性能

1. 安装Powerline

Powerline是用Python写的脚本,所以我们必须确保在安装Powerline之前,我们的Linux系统里面已经安装了Python

[root@CentOS ~]$ python
Python 2.7.5 (default, Nov 20 2015, 02:00:19) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

安装pip工具,然后用pip安装powerline模块:

[root@CentOS ~]$ yum -y install python-pip git
[root@CentOS ~]$ pip install powerline-status

查看Powerline的安装目录,这个地址非常重要,因为在配置 Poweline 到 bash 终端和 vim 的时候还会用到

分类: Linux
标签: bash 美化 powerline vim
  • Benefit from Total Purchase Rebates uuhfjshdfk.temp.swtest.ru K8
  • Fast access funds are enclosed doeeporgma.temp.swtest.ru dv
  • Refer and receive cash toopewragm.temp.swtest.ru GN
  • Seize your special cash incentive doeeporgma.temp.swtest.ru Q3
  • Your joining bonus Instant cash uuhfjshdfk.temp.swtest.ru 1J
  • Join and Get an Instant Bonus uuhfjshdfk.temp.swtest.ru Ww
  • Obtain Money at Zero Cost to You uuhfjshdfk.temp.swtest.ru WG
  • Earn Money for Miscellaneous Tasks uuhfjshdfk.temp.swtest.ru zN
  • Be rewarded for your quick response doeeporgma.temp.swtest.ru 9B
  • Capture a Unique Bonus Opportunity doeeporgma.temp.swtest.ru xk
  • Step in and claim your winnings doeeporgma.temp.swtest.ru tj
  • Sign up to get a monetary gift doeeporgma.temp.swtest.ru Oa
  • Earn a Bonus When You Enroll toopewragm.temp.swtest.ru 4V
  • Qualify for Support and More Cash toopewragm.temp.swtest.ru 5H
  • A secret trove has been found toopewragm.temp.swtest.ru Bz
  • Your Personal Bonus is Ready doeeporgma.temp.swtest.ru K2
  • Spread the word and get cash doeeporgma.temp.swtest.ru 0Y
  • Get your reward by entering here toopewragm.temp.swtest.ru 0t
  • Instant cash awaits within uuhfjshdfk.temp.swtest.ru Mj
  • Get a cash bonus for liking us doeeporgma.temp.swtest.ru IT
  • Pick Up Your Cash Incentive Now toopewragm.temp.swtest.ru Vo
  • Your VIP status grants cash access doeeporgma.temp.swtest.ru oH
  • Time Spent  Money Earned uuhfjshdfk.temp.swtest.ru Cm
  • Claim an Unannounced Bonus uuhfjshdfk.temp.swtest.ru rR
未经允许不得转载: LIFE & SHARE - 王颜公子 » Powerline - 美化Bash和Vim的状态提示栏

分享

作者

作者头像

Madman

如需 Linux / Python 相关问题付费解答,请按如下方式联系我

0 条评论

暂时还没有评论.

专题系列