How to Install and Uninstall bash-git-prompt Package on openSuSE Tumbleweed

Last updated: July 07,2024

1. Install "bash-git-prompt" package

This is a short guide on how to install bash-git-prompt on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install bash-git-prompt

2. Uninstall "bash-git-prompt" package

Please follow the guidelines below to uninstall bash-git-prompt on openSuSE Tumbleweed:

$ sudo zypper remove bash-git-prompt

3. Information about the bash-git-prompt package on openSuSE Tumbleweed

Information for package bash-git-prompt:
----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : bash-git-prompt
Version : 2.7.1-2.11
Arch : noarch
Vendor : openSUSE
Installed Size : 114.8 KiB
Installed : No
Status : not installed
Source package : bash-git-prompt-2.7.1-2.11.src
Upstream URL : https://github.com/magicmonty/bash-git-prompt
Summary : Informative git prompt for bash and fish
Description :
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.
This package will automatically enable the git prompt for bash after
install. It will disable the prompt accordingly after uninstall.