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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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