lyze / posh-git-sh

Bash/ZSH version of the posh-git command prompt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GIT_PS1_ environment variables are no longer used for configuration

keatongreve opened this issue · comments

The comments/documentation in the CONFIG OPTIONS section of the script say that GIT_PS1_SHOWUPSTREAM and GIT_PS1_SHOWSTASHSTATE can be set to configure the script, but those were removed from code in e4141d4 and replaced with reading options from git config. GIT_PS1_SHOWCOLORHINTS is also not used anywhere.

Updated.

GIT_PS1_SHOWUPSTREAM is still used: https://github.com/lyze/posh-git-sh/blob/master/git-prompt.sh#L439-459. I cleaned up the SHOWSTASHSTATE and SHOWCOLORHINTS, and hopefully the new documentation looks nicer.