From edbb09d339e761249a1a00f86063cd41cd3af2a6 Mon Sep 17 00:00:00 2001 From: Michel Date: Mon, 12 Feb 2024 15:07:18 +0100 Subject: [PATCH] fix: lazygit install --- .README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.README.md b/.README.md index 8eba73e..82b6f8f 100644 --- a/.README.md +++ b/.README.md @@ -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