summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Martin <smartin5590@gmail.com>2024-10-05 22:58:10 -0600
committerJesse Duffield <jessedduffield@gmail.com>2024-11-09 18:42:19 +1100
commitf858460ab9ede50a67fe2d9057baa6893729fe0f (patch)
treee31a9fd7ac7d737171d3a862d7b695e9fa1a6b79
parentb2cbd936199f13f2c64e6de79f46e7bd95a624d3 (diff)
Fixes to lazygit Ubuntu install instructions in README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 44d3808e9..c2bccb311 100644
--- a/README.md
+++ b/README.md
@@ -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/
```