use a different git config flag
This commit is contained in:
parent
54c8938a24
commit
65ce9b90d7
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ in {
|
||||||
# don't slow the shell down
|
# don't slow the shell down
|
||||||
save_function git_prompt_status old_git_prompt_status
|
save_function git_prompt_status old_git_prompt_status
|
||||||
function 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
|
old_git_prompt_status
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue