This prompt is a port of the "Informative git prompt for zsh". A bash prompt that displays information about the current git repository. In particular the branch name, difference with remote branch, number of files staged, changed, etc. The advantage of this approach is, that you only need to specify the parts, that are different to the Default theme. You can set the GIT_PROMPT_SHOW_UNTRACKED_FILES variable to no or normal to speed things up if you have lots of untracked files in your repository. This can be the case for build systems that put their build artifacts in the subdirectory structure of the git repository. Setting it to all will count all untracked files, including files listed in .gitignore. The most settings are now stored in theme files. To select a theme, set the variable GIT_PROMPT_THEME to the name of the theme located in <INSTALLDIR>/themes without the extension .bgptheme.

Features

  • You can tweak your prompt
  • This project ships an RPM spec to simplify installation on RHEL and clones
  • This prompt is a port of the "Informative git prompt for zsh"
  • A bash prompt that displays information about the current git repository
  • In particular the branch name, difference with remote branch, number of files staged, changed, etc.

Project Samples

Project Activity

See All Activity >

Categories

Git

License

BSD License

Follow Informative git prompt for bash and fish

Informative git prompt for bash and fish Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Informative git prompt for bash and fish!

Additional Project Details

Programming Language

Unix Shell

Related Categories

Unix Shell Git Software

Registered

2021-09-14