powerline
TLDR
Start daemon
$ powerline-daemon --replace
Use with bash$ powerline-daemon -q && PROMPT_COMMAND="powerline-bash-prompt"
Check configuration$ powerline-lint
Reload configuration$ powerline-daemon --kill && powerline-daemon
SYNOPSIS
powerline ext side [options]
powerline-daemon [options]
DESCRIPTION
Powerline is a statusline plugin for vim, tmux, and shell prompts. It provides informative, beautiful status displays with Git status, virtualenv, and other contextual information.
PARAMETERS
-q, --quiet
Suppress output.--replace
Replace running daemon.--kill
Kill daemon.-p, --config-path path
Configuration path.
EXAMPLES
$ # Start daemon
powerline-daemon -q
# Check config
powerline-lint
# Test shell prompt
powerline shell left
# Install for bash (in .bashrc)
powerline-daemon -q
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
powerline-daemon -q
# Check config
powerline-lint
# Test shell prompt
powerline shell left
# Install for bash (in .bashrc)
powerline-daemon -q
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
SHELL SETUP (bash)
$ # In ~/.bashrc
if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
source /usr/share/powerline/bindings/bash/powerline.sh
fi
if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
source /usr/share/powerline/bindings/bash/powerline.sh
fi
TMUX SETUP
$ # In ~/.tmux.conf
source /usr/share/powerline/bindings/tmux/powerline.conf
source /usr/share/powerline/bindings/tmux/powerline.conf
CAVEATS
Requires powerline-compatible font. Configuration in ~/.config/powerline/. Daemon improves performance.
HISTORY
Powerline was created by Kim Silkebækken originally as a vim plugin, later expanded to shells and tmux.


