Skip to content

Instantly share code, notes, and snippets.

@d4rk5eed
d4rk5eed / gist:d1651aa46e42d91ef96f
Last active July 26, 2022 13:48
How to make prompt with git branch in bash gentoo

How to make prompt with git branch in bash gentoo

  1. emerge app-shells/bash-completion
  2. $ find /usr -name git-prompt.sh.bz2

/usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 3. cp /usr/share/doc/git-1.8.5.5/git-prompt.sh.bz2 ~ 4. bunzip2 git-prompt.sh.bz2 5. mv git-prompt.sh .git-prompt.sh