How to Install and Uninstall bash-git-prompt Package on openSUSE Leap

Last updated: November 23,2024

1. Install "bash-git-prompt" package

This guide let you learn how to install bash-git-prompt on openSUSE Leap

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

2. Uninstall "bash-git-prompt" package

Please follow the guidance below to uninstall bash-git-prompt on openSUSE Leap:

$ sudo zypper remove bash-git-prompt

3. Information about the bash-git-prompt package on openSUSE Leap

Information for package bash-git-prompt:
----------------------------------------
Repository : Main Repository
Name : bash-git-prompt
Version : 2.7.1-bp155.1.5
Arch : noarch
Vendor : openSUSE
Installed Size : 114.8 KiB
Installed : No
Status : not installed
Source package : bash-git-prompt-2.7.1-bp155.1.5.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.