mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-21 17:57:00 +02:00
Fixes to lazygit Ubuntu install instructions in README.md
This commit is contained in:
parent
b2cbd93619
commit
f858460ab9
@ -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/
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user