fam4r
fam4r
Please see here: https://github.com/olivierverdier/zsh-git-prompt/issues/103
Yes, that has been discussed in #103 and there's a PR in #119 , just in case you want to join the thread :smile:
@nimag42 solves for me @QuinnyPig @Segaja does not solve for me Loaded with `zgen` in Arch Linux
@Segaja In a non-git folder the output is: ``` git symbolic-ref HEAD fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM...
Hi @Segaja , I used @QuinnyPig patch ([branch in his fork](https://github.com/QuinnyPig/zsh-git-prompt/tree/patch-1)) in my `zgen load`, which changes exactely what you said.
@Segaja your newer solution that checks for the error code works for me, thank you!
@Kynde I forked and implemented both working (for me) solutions for that problem in two different branches. [fam4r/zsh-git-prompt](https://github.com/fam4r/zsh-git-prompt) I'm not going to fork and mantain that project, if someone wants...
@starcraftman yes, it can be a good way, the problem comes when other people make new issues: the one that points to new repo will be not be so longer...
Or f-droid ...
Seems related / similar / duplicate of #365 (?)