mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
This script sets a couple of environment variables in tmux if it's running, and provides the last exit code and last pipe status to powerline-prompt. It also traps SIGWINCH and sets the window width as an env variable in tmux. The default prompt has been split in two and the git branch is moved to RPS1. The script must be sourced with an absolute path for now: . /path/to/powerline/bindings/zsh/prompt.zsh Statusline cropping has not been implemented in powerline-tmux yet. Closes #82. Closes #83. Refs #90.
Powerline ========= :Author: Kim Silkebækken (kim.silkebaekken+vim@gmail.com) :Source: https://github.com/Lokaltog/powerline :Version: beta This is the upcoming version of Powerline, implemented in Python. The project is currently in a stable beta and almost ready for release. * Consult the `documentation <http://lokaltog.github.com/powerline/>`_ for more information and installation instructions. * Check out `powerline-fonts <https://github.com/Lokaltog/powerline-fonts>`_ for pre-patched versions of popular coding fonts. Screenshots ----------- Vim statusline ^^^^^^^^^^^^^^ **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%