From: Samir Benmendil Date: Sun, 31 Jan 2021 16:11:35 +0000 (+0000) Subject: zsh/prompt: don't try to populate git prompt if not in git repo X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/34f20d2cbf651ec2b1366dd2bcbc1331929ac8fc?hp=34f20d2cbf651ec2b1366dd2bcbc1331929ac8fc zsh/prompt: don't try to populate git prompt if not in git repo Just exit early here, rather than processing anything else. ---