lazygit ubuntu install alt
This commit is contained in:
parent
189c8e6194
commit
b41469616b
@ -102,9 +102,6 @@ $Green##########################################################################
|
|||||||
## Setup fish repo in ubuntu
|
## Setup fish repo in ubuntu
|
||||||
sudo apt-add-repository ppa:fish-shell/release-3 -y
|
sudo apt-add-repository ppa:fish-shell/release-3 -y
|
||||||
|
|
||||||
## Lazygit ppa
|
|
||||||
sudo add-apt-repository ppa:lazygit-team/release
|
|
||||||
|
|
||||||
## Neovim ppa
|
## Neovim ppa
|
||||||
sudo add-apt-repository ppa:neovim-ppa/unstable
|
sudo add-apt-repository ppa:neovim-ppa/unstable
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
@ -136,7 +133,13 @@ sleep 3
|
|||||||
nix-env -iA nixpkgs.jump nixpkgs.du-dust
|
nix-env -iA nixpkgs.jump nixpkgs.du-dust
|
||||||
|
|
||||||
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
||||||
sudo apt install fish lazygit neovim $ACT_PACKAGES libpam-ssh-agent-auth -y
|
sudo apt install fish neovim $ACT_PACKAGES libpam-ssh-agent-auth -y
|
||||||
|
|
||||||
|
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"
|
||||||
|
tar xf lazygit.tar.gz lazygit
|
||||||
|
sudo install lazygit /usr/local/bin
|
||||||
|
|
||||||
nix-env -iA nixpkgs.jump nixpkgs.skim nixpkgs.du-dust
|
nix-env -iA nixpkgs.jump nixpkgs.skim nixpkgs.du-dust
|
||||||
if ! fish -c atuin &>/dev/null
|
if ! fish -c atuin &>/dev/null
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user