]> git.rmz.io Git - dotfiles.git/commit
zsh/prompt: don't try to populate git prompt if not in git repo
authorSamir Benmendil <me@rmz.io>
Sun, 31 Jan 2021 16:11:35 +0000 (16:11 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 31 Jan 2021 16:11:35 +0000 (16:11 +0000)
commit34f20d2cbf651ec2b1366dd2bcbc1331929ac8fc
tree08c8da8a129a37c86e81c98b27381b832c72a825
parent57c928a116d305c17a194aa37807d2a7bbd74231
zsh/prompt: don't try to populate git prompt if not in git repo

Just exit early here, rather than processing anything else.
zsh/lib/prompt.zsh