diff options
author | Stephen Martin <smartin5590@gmail.com> | 2024-10-05 22:58:10 -0600 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2024-11-09 18:42:19 +1100 |
commit | f858460ab9ede50a67fe2d9057baa6893729fe0f (patch) | |
tree | e31a9fd7ac7d737171d3a862d7b695e9fa1a6b79 | |
parent | b2cbd936199f13f2c64e6de79f46e7bd95a624d3 (diff) |
Fixes to lazygit Ubuntu install instructions in README.md
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -306,8 +306,8 @@ sudo eopkg install lazygit ### Ubuntu ```sh -LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') -curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" +LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*') +curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" tar xf lazygit.tar.gz lazygit sudo install lazygit -D -t /usr/local/bin/ ``` |