Skip to content

bash-git-prompt: init at 2.7.1-unstable-23-04-2025 #432533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Parrot7483
Copy link
Member

Things done

This PR adds bash-git-prompt. A bash prompt that displays information about the current git repository. Similar to zsh-git-prompt. Since the last release was in 2017 but the package being well maintained, I added latest HEAD of master.

One can then use it like this in either home-manager or NixOS bash configuration:

source "${pkgs.bash-git-prompt}/gitprompt.sh"
  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Aug 10, 2025
@Parrot7483 Parrot7483 added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Aug 10, 2025
@nixpkgs-ci nixpkgs-ci bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Aug 10, 2025
@Parrot7483 Parrot7483 force-pushed the add-bash-git-prompt branch from be766fe to 922f0e9 Compare August 11, 2025 08:00
@Parrot7483
Copy link
Member Author

Thank you for your fast feedback! I applied all your requested changes.

@yzhou216
Copy link
Contributor

@Parrot7483 This is cool! You should also take a look at #429233.

@Parrot7483 Parrot7483 requested a review from acid-bong August 15, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants