Skip to content

Instantly share code, notes, and snippets.

@chipbite
chipbite / git-prompt.sh
Created November 8, 2024 12:16
How I almost added RHS info to git-bash, in /.config/git/git-prompt.sh
# ----------------------------------------------------------------
# prompt config for (git-)bash
# this is called from /etc/profile.d/git-prompt.sh
# (if this file exists, which it apparently does, since you are reading it...)
# src: https://github.com/git-for-windows/build-extra/blob/main/git-extra/git-prompt.sh
#
# why this file? /etc/profile.d/git-prompt.sh is overwritten with git (for windows) is updated.
# starting point (default setup for the prompt) can be found in /etc/profile.d/git-prompt.sh
#
# Config info: https://gist.github.com/adojos/fd30baa716dbfbe282fe147ab717b664