• Addison G's avatar
    Updated git-prompt.sh to quote variables · 1f58cd92
    Addison G authored
    An error was thrown (`bash: [: =: unary operator expected`) when using the __git_ps1_colorize_gitstring function outside of the one place it's called (line 512), because the "detached" variable was not quoted, and was unset.
    1f58cd92
git-prompt.sh 16.1 KB