| A bash prompt that shows information, only if you really need them.
The terminal emulator you can see here is Tilix (formerly known as terminix). Screenshot is taken by daniel-wtd.
Shows a little, red "x" at the beginning of the prompt, if the last command was not successful or returns non-zero.
The usage of git-prompt.sh is implemented and will be used, if git is installed. So you can see the git status in your prompt, when joining a git directory.
Root is colored in red, systemusers in yellow and regular users in green.
Displays a background job counter (jobs), if there are background jobs.
When working locally, the prompt has no hostname. After ssh-ing into another host you can see the hostname in the prompt.
Git Integration is only tested on Fedora based Systems, openSUSE, archlinux and Ubuntu.
- RedHat 7.x
- CentOS 7.x
- Fedora 23+
- openSUSE 42.2
- archlinux
You can run the installer as root for global installation or as a user for installation in your home directory.
- Please Download the release package from https://github.com/while-true-do/bash-prompt/releases
- Unpack it via
unzip
- Make the installer executable
chmod +x install.sh
- Run the installer
./install.sh
Git and git-completion is needed, if you want to use the git-prompt.
This work is licensed under a BSD License.
bug reports: https://github.com/while-true-do/bash-prompt/issues
contributers: https://github.com/while-true-do/bash-prompt/graphs/contributors
blog: https://blog.while-true-do.org
github: https://github.com/daniel-wtd
contact: mail@while-true-do.org