From 440b204a8a94b13b81cde679410c28fb5e6c9995 Mon Sep 17 00:00:00 2001 From: Jeremy McClure Date: Sat, 1 Aug 2026 18:18:45 -0400 Subject: [PATCH] Update 1 file: bootstrap.sh --- bootstrap.sh | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index ed473de..73cb2ba 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -22,7 +22,7 @@ arch() { check_all() { local missing=() - for cmd in zsh git curl jq fzf starship eza bat delta fastfetch dotstate; do + for cmd in zsh git curl jq fzf starship eza bat delta fastfetch dotstate lazygit lazydocker; do command -v "$cmd" &>/dev/null || missing+=("$cmd") done echo "${missing[@]}" @@ -93,6 +93,26 @@ install_binary() { curl -sSfL "$url" -o /usr/local/bin/jq sudo chmod +x /usr/local/bin/jq ;; + lazygit) + info "installing lazygit" + local lazygit_arch + case "$arch" in + x86_64) lazygit_arch="x86_64" ;; + aarch64) lazygit_arch="arm64" ;; + armhf) lazygit_arch="armv6" ;; + esac + curl -sSfL "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_Linux_${lazygit_arch}.tar.gz" | sudo tar xz -C /usr/local/bin + ;; + lazydocker) + info "installing lazydocker" + local lazydocker_arch + case "$arch" in + x86_64) lazydocker_arch="x86_64" ;; + aarch64) lazydocker_arch="arm64" ;; + armhf) lazydocker_arch="armv6" ;; + esac + curl -sSfL "https://github.com/jesseduffield/lazydocker/releases/latest/download/lazydocker_Linux_${lazydocker_arch}.tar.gz" | sudo tar xz -C /usr/local/bin + ;; dotstate) info "installing dotstate" curl -fsSL https://dotstate.serkan.dev/install.sh | bash @@ -114,6 +134,8 @@ install_missing() { [delta]="git-delta" [fastfetch]="fastfetch" [zsh]="zsh" + [lazygit]="lazygit" + [lazydocker]="lazydocker" ) local sys_pkgs=()