Files
dotfiles/script/install.d/81-cmatrix.sh
Copilot d872eda9ee Consolidate mise tool installations and fix PATH activation (#71)
* Initial plan

* Consolidate mise tools installation and fix GitHub Copilot CLI package

Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>

* Revert copilot package changes and remove --jobs flag from mise install

Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>

* fix: permissions

* Move GitHub CLI (gh) installation to mise

Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>
Co-authored-by: Andrejus <git@andrejus.uk>
2026-01-29 18:24:58 +00:00

28 lines
720 B
Bash
Executable File

#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install cmatrix.
#
# skip if in Codespaces
[[ "$DOTS_ENV" == "codespaces" ]] && { log_pass "Skipping in Codespaces"; return 0; }
if ! command -v cmatrix &> /dev/null; then
case "$DOTS_PKG" in
apt)
sudo apt-get install -qq cmatrix &>/dev/null
;;
pacman)
sudo pacman -S --noconfirm cmatrix &>/dev/null
;;
brew)
brew install cmatrix
;;
*)
log_warn "Skipping cmatrix install: no supported package manager found"
;;
esac
fi
log_pass "cmatrix installed successfully!"