$ brew install jandedobbeleer/oh-my-posh/oh-my-posh
==> Downloading https://github.com/JanDeDobbeleer/oh-my-posh/archive/v8.15.0.tar.gz
Already downloaded: /home/kriese/.cache/Homebrew/downloads/5f55ea592be4e181cd145a53da394e801e75918818b147ff756c01854db706cf--oh-my-posh-8.15.0.tar.gz
==> Installing oh-my-posh from jandedobbeleer/oh-my-posh
==> go build -o=oh-my-posh -ldflags="-s -w -X 'main.Version=8.15.0'"
Last 15 lines from /home/kriese/.cache/Homebrew/Logs/oh-my-posh/01.go:
2022-07-08 11:42:37 +0000
go build -o=oh-my-posh -ldflags="-s -w -X 'main.Version=8.15.0'"
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/jandedobbeleer/homebrew-oh-my-posh/issues
it's probably because of need to set git safe.directory
it's probably because of need to set
git safe.directory