agnoster / agnoster-zsh-theme

A ZSH theme designed to disclose information contextually, with a powerline aesthetic
3.95k stars 583 forks source link

inside .git folders Agnoster produces "fatal: this operation must be run in a work tree" #162

Open rzarajczyk opened 2 years ago

rzarajczyk commented 2 years ago

Hi, When I'm inside .git directory (this special hidden dir in any git repo which store git-related data) the Agnoster produces

fatal: this operation must be run in a work tree

every time the command line is show. It is because Agnoster's git integration try to execute some git commands, like git status, in this repo - but it ends with this message produced to stderr.