When I first tried to use the git-prompt.sh script, I followed the
instructions at the top of the file and everything worked, except for the
"GIT_PS1_SHOWDIRTYSTATE" preference. Even though I had it set to true, I
wasn't seeing the "()" and "(+)" in my shell prompt. After a few hours of
poking arou
From: Edward D'Souza
Clarify the need to set variables like GIT_PS1_SHOWDIRTYSTATE before
"source ~/.git-prompt.sh" is executed in your shell init process.
If you set these preferences too late i.e. after .git-prompt.sh executes,
they will silently fail to take effect.
Signed-off-by: Edward D'S
2 matches
Mail list logo