Skip to content

Commit

Permalink
Include fix ohmyzsh#2323 for wrong config check
Browse files Browse the repository at this point in the history
Include fix ohmyzsh#2323 in this PR.
  • Loading branch information
oohlaf committed Jan 12, 2014
1 parent f8f11ee commit 0fa7480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git.zsh
Expand Up @@ -13,7 +13,7 @@ parse_git_dirty() {
local SUBMODULE_SYNTAX=''
local GIT_STATUS=''
local CLEAN_MESSAGE='nothing to commit (working directory clean)'
if [[ "$(command git config --get oh-my-zsh.hide-status 2> /dev/null)" != "1" ]]; then
if [[ "$(command git config --get oh-my-zsh.hide-dirty 2> /dev/null)" != "1" ]]; then
if [[ $POST_1_7_2_GIT -gt 0 ]]; then
SUBMODULE_SYNTAX="--ignore-submodules=dirty"
fi
Expand Down

0 comments on commit 0fa7480

Please sign in to comment.