All Projects → riobard → Bash Powerline

riobard / Bash Powerline

Powerline-style Bash prompt in pure Bash script. See also https://github.com/riobard/zsh-powerline

Programming Languages

shell
77523 projects
bash
514 projects

Labels

Projects that are alternatives of or similar to Bash Powerline

git bash windows powerline
Light & simple powerline theme for Git bash for windows
Stars: ✭ 98 (-87.63%)
Mutual labels:  powerline
Pureline
A Pure Bash Powerline PS1 Command Prompt
Stars: ✭ 342 (-56.82%)
Mutual labels:  powerline
Vim Vide
Lightest vimrc, while strong enough. 最轻的vim配置,却足够强!
Stars: ✭ 649 (-18.06%)
Mutual labels:  powerline
barow
A minimalist statusline for n/vim
Stars: ✭ 31 (-96.09%)
Mutual labels:  powerline
Trueline
Fast and extensible bash powerline prompt with true color and fancy icon support
Stars: ✭ 271 (-65.78%)
Mutual labels:  powerline
Vim Devicons
Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more
Stars: ✭ 4,473 (+464.77%)
Mutual labels:  powerline
dotfiles
🔧 .files - different setups separated in branches
Stars: ✭ 168 (-78.79%)
Mutual labels:  powerline
Bumblebee Status
bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
Stars: ✭ 780 (-1.52%)
Mutual labels:  powerline
Sf Mono Powerline
🌁 Apple's SF Mono font patched for Powerline support
Stars: ✭ 339 (-57.2%)
Mutual labels:  powerline
Oh My Posh2
A theme engine for Powershell inspired by the work done by Chris Benti on PS-Config and Oh-My-ZSH on OSX and Linux (hence the name).
Stars: ✭ 5,046 (+537.12%)
Mutual labels:  powerline
Tmux Powerline
A hackable statusbar for tmux consisting of dynamic & beautiful looking segments, inspired by vim-powerlline, written purely in bash.
Stars: ✭ 2,802 (+253.79%)
Mutual labels:  powerline
Sbp
Simple Bash Prompt (SBP) is a bash prompt, which strives to be simple. But it isn't. But it looks kind of nice. I think.
Stars: ✭ 273 (-65.53%)
Mutual labels:  powerline
Liquidprompt
A full-featured & carefully designed adaptive prompt for Bash & Zsh
Stars: ✭ 4,134 (+421.97%)
Mutual labels:  powerline
powerless
Minimalistic/responsive ZSH prompt inspired by powerline.
Stars: ✭ 63 (-92.05%)
Mutual labels:  powerline
Powerline Shell
A beautiful and useful prompt for your shell
Stars: ✭ 5,743 (+625.13%)
Mutual labels:  powerline
powerline mem segment
No description or website provided.
Stars: ✭ 15 (-98.11%)
Mutual labels:  powerline
Hues
Colored terminal text made easy for Python and happiness.
Stars: ✭ 345 (-56.44%)
Mutual labels:  powerline
Powerline Extra Symbols
▶️ Extra glyphs for your powerline separators
Stars: ✭ 778 (-1.77%)
Mutual labels:  powerline
Nerd Fonts
Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
Stars: ✭ 31,778 (+3912.37%)
Mutual labels:  powerline
Powerline
A more PowerShell prompt
Stars: ✭ 444 (-43.94%)
Mutual labels:  powerline

bash-powerline

Powerline for Bash in pure Bash script.

bash-powerline

Features

  • Git: show branch name, tag name, or unique short hash.
  • Git: show "*" symbol with uncommited modifications.
  • Git: show "↑" symbol and number of commits ahead of remote.
  • Git: show "↓" symbol and number of commits behind remote.
  • Platform-dependent prompt symbols.
  • Color-coded prompt symbol according to previous command execution status.
  • Use Bash builtin when possible to reduce delay. Delay sucks!
  • No need for patched fonts.

Installation

Download the Bash script

curl https://raw.githubusercontent.com/riobard/bash-powerline/master/bash-powerline.sh > ~/.bash-powerline.sh

And source it in your .bashrc

source ~/.bash-powerline.sh

For best result, use Solarized colorscheme for your terminal emulator. Or hack your own colorscheme by modifying the script. It's really easy.

Why?

This script is inspired by powerline-shell, which is implemented in Python. Python scripts are much easier to write and maintain than Bash scripts, but invoking Python interpreter introduces noticable delay to draw. I hate delays, so I ported just the part I need to pure Bash script.

The other reason is that I don't like the idea of patching fonts. The font patching mechanism from the original Powerline does not work with the bitmap font (Apple Monaco without anti-aliasing) I use on non-retina screens. I'd rather stick with existing unicode symbols.

See also

  • zsh-powerline: Same thing but for Zsh.
  • powerline: Unified Powerline written in Python. This is the future of all Powerline derivatives.
  • vim-powerline: Powerline in Vim writtien in pure Vimscript. Deprecated.
  • tmux-powerline: Powerline for Tmux written in Bash script. Deprecated.
  • powerline-shell: Powerline for Bash/Zsh/Fish implemented in Python. Might be merged into the unified Powerline.
  • emacs powerline: Powerline for Emacs
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].