A Powerline-like prompt for Bash, ZSH, and Fish. All of the version control systems supported by powerline shell give you a quick look into the state of your repo. The current branch is displayed and changes background color when the branch is dirty. When the local branch differs from the remote, the difference in number of commits is shown along with ⇡ or ⇣ indicating whether a git push or pull is pending. powerline-go uses ANSI color codes, these should nowadays work everywhere, but you may have to set your $TERM to xterm-256color for it to work. If you want to use the "patched" mode (which is the default and provides improved UI), you'll need to install a powerline font, either as fallback, or by patching the font you use for your terminal. Alternatively, you can use "compatible" or "flat" mode. There are a few optional arguments that can be seen by running powerline-go -help. These can be used by changing the command you have set in your shell’s init file.

Features

  • Shows some important details about the git/hg branch
  • Changes color if the last command exited with a failure code
  • If you're too deep into a directory tree, shortens the displayed path with an ellipsis
  • Shows the current Python virtualenv environment
  • Shows the current Ruby version using rbenv or rvm
  • Shows if you are in a nix shell
  • It's easy to customize and extend. See below for details

Project Samples

Project Activity

See All Activity >

Categories

System Shells

License

GNU General Public License version 3.0 (GPLv3)

Follow Powerline Go

Powerline Go Web Site

Other Useful Business Software
Catch Bugs Before Your Customers Do Icon
Catch Bugs Before Your Customers Do

Real-time error alerts, performance insights, and anomaly detection across your full stack. Free 30-day trial.

Move from alert to fix before users notice. AppSignal monitors errors, performance bottlenecks, host health, and uptime—all from one dashboard. Instant notifications on deployments, anomaly triggers for memory spikes or error surges, and seamless log management. Works out of the box with Rails, Django, Express, Phoenix, Next.js, and dozens more. Starts at $23/month with no hidden fees.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Powerline Go!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go System Shells

Registered

2022-04-12