fix: lazygit install

This commit is contained in:
Michel 2024-02-12 15:07:18 +01:00
parent af856c45af
commit edbb09d339
1 changed files with 9 additions and 1 deletions

View File

@ -156,7 +156,15 @@ tar xf *.tar.gz(om[1])
### Go
```sh
go install github.com/jesseduffield/lazygit@latest
export GOPATH=/opt/go && sudo mkdir -p $GOPATH
sudo -E go install github.com/jesseduffield/lazygit@latest
```
Problem: Commit ID, build date and version aren't set.
```sh
$ lazygit --version
commit=, build date=, build source=unknown, version=unversioned, os=linux, arch=amd64, git version=2.43.0
```
### Manual