improved checking if in a repo (hg is too slow, just checking for folders in pwd is incomplete when in a different subfolder of a repo)
improved checking if in a repo (hg is too slow, just checking for folders in pwd is incomplete when in a different subfolder of a repo)

Signed-off-by: Dominik Richter <b7323add517e187efe0283b76511b7ed762bfe13@gmail.com>

atomic111/zero.zsh,arlimus/zero.zsh,atomic111/zero.zsh,arlimus/zero.zsh