diff --git a/myzsh.sh b/myzsh.sh index d3612f3..78550f0 100644 --- a/myzsh.sh +++ b/myzsh.sh @@ -12,11 +12,7 @@ fi # check if there is canges to be pushed cd $ZSH -local SUBMODULE_SYNTAX='' -if [[ $POST_1_7_2_GIT -gt 0 ]]; then - SUBMODULE_SYNTAX="--ignore-submodules=dirty" -fi -if [[ -n $(git status -s ${SUBMODULE_SYNTAX} 2> /dev/null) ]]; then +if [[ -n $(git status --porcelain) ]]; then echo -n "[myzsh]: local myzsh repo is dirty. commit and push changes? [y/n]" read choice if [ $choice ]; then