Skip to content

Commit a7f7794

Browse files
tarebyteCopilot
andcommitted
Add tmux to codespace tool installs via AppImage
Install tmux from nelsonenzo/tmux-appimage — a self-contained AppImage with no build dependencies. Follows the same gh release download + install to ~/.local/bin pattern as the other tools. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c0d3725 commit a7f7794

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

script/install-codespace-tools

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
#
33
# Install CLI tools GitHub Codespaces doesn't ship by default:
4-
# neovim, ripgrep, bat, fzf, lazygit, diff-so-fancy, tree-sitter.
4+
# neovim, ripgrep, bat, fzf, lazygit, diff-so-fancy, tree-sitter, tmux.
55
# Invoked by `make install-codespaces`. Safe to re-run — each step
66
# no-ops if its binary is already on PATH.
77

@@ -132,5 +132,17 @@ else
132132
echo " ✓ tree-sitter installed ($(tool_version tree-sitter), $((SECONDS - start))s)"
133133
fi
134134

135+
if command -v tmux >/dev/null 2>&1; then
136+
echo " ✓ tmux already installed ($(tool_version tmux))"
137+
else
138+
start=$SECONDS
139+
echo " Installing tmux..."
140+
gh release download --clobber --output /tmp/tmux.appimage --repo nelsonenzo/tmux-appimage \
141+
--pattern "tmux.appimage"
142+
install /tmp/tmux.appimage "$LOCAL_BIN/tmux"
143+
rm -f /tmp/tmux.appimage
144+
echo " ✓ tmux installed ($(tool_version tmux), $((SECONDS - start))s)"
145+
fi
146+
135147
echo ""
136148
echo "==> Bootstrap complete! Restart your terminal or run: source ~/.bash_aliases"

0 commit comments

Comments
 (0)