mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 05:46:01 +02:00
Bash and zsh have different ways of escaping colors in the prompt, this update checks the $SHELL environment variable and uses the correct escape sequence for the current shell. A known issue with this method is that $SHELL doesn't get updated when switching shells (i.e. if you're running /bin/bash when you're in a zsh shell) so in rare cases rendering errors may occur. A workaround which is much slower is to parse the output of `ps -p $$` which always returns the current shell.
Powerline ========= :Author: Kim Silkebækken (kim.silkebaekken+vim@gmail.com) :Source: https://github.com/Lokaltog/powerline :Version: beta This is the next version of Powerline, implemented in Python. The project is currently in beta, and most of the functionality in the old vimscript project is already implemented. Check out the `documentation <http://lokaltog.github.com/powerline/>`_ for more information and installation instructions. Screenshots ----------- **Mode-dependent highlighting** * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-normal.png :alt: Normal mode * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-insert.png :alt: Insert mode * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-visual.png :alt: Visual mode * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-replace.png :alt: Replace mode **Automatic truncation of segments in small windows** * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate1.png :alt: Truncation illustration * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate2.png :alt: Truncation illustration * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate3.png :alt: Truncation illustration The font in the screenshots is `Pragmata Pro`_ by Fabrizio Schiavi. .. _`Pragmata Pro`: http://www.fsd.it/fonts/pragmatapro.htm
Languages
Python
90.7%
Shell
7.1%
Vim Script
1.8%
C
0.4%