use a different git config flag

This commit is contained in:
Haak Saxberg 2020-02-12 23:24:38 -08:00
parent 54c8938a24
commit 65ce9b90d7

View file

@ -114,7 +114,7 @@ in {
# don't slow the shell down
save_function git_prompt_status old_git_prompt_status
function git_prompt_status() {
if [[ "$(command git config --get oh-my-zsh.hide-status 2>/dev/null)" != "1" ]]; then
if [[ "$(command git config --get oh-my-zsh.hide-prompt-status 2>/dev/null)" != "1" ]]; then
old_git_prompt_status
fi
}