X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/98e9afe73a2df757c892dc66046747b13898f140..5838b305850a8bd1e0d7d4701986fae648858a08:/.zsh/zshrc/85_git_prompt diff --git a/.zsh/zshrc/85_git_prompt b/.zsh/zshrc/85_git_prompt index 7e445b0..626b4c3 100644 --- a/.zsh/zshrc/85_git_prompt +++ b/.zsh/zshrc/85_git_prompt @@ -15,7 +15,7 @@ _get_git_cur_branch() { } _is_git_repo() { - [ "$(git rev-parse --is-inside-work-tree)" = true ] + [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = true ] } _set_git_psvar() {