Overview
That looks nasty - can't you do a drop-in file to /etc/profile.d ?
then in any case you probably want to change /etc/bash.bashrc - there is no /etc/bashrc
right, that's probably why it does not work anyway.
Request History
michals created request
Script for enhancing bash prompt in git repositories
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
staging-bot added as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:64"
staging-bot accepted review
Picked "openSUSE:Factory:Staging:adi:64"
dimstar accepted review
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:adi:64 got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:adi:64 got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:adi:64 got accepted.