- Move glow install from apt/pacman/brew to mise (fixes Debian CI failure where glow is not in default apt repos) - Suppress verbose Poetry installer banner with tail -1 in mise app install loop - Add final log_pass to vim plugin script for consistent formatting - Add version quote to cmatrix for completeness Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
29 lines
767 B
Bash
Executable File
29 lines
767 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Description:
|
|
# Install cmatrix.
|
|
#
|
|
|
|
# skip if in Codespaces
|
|
[[ "$DOTS_ENV" == "codespaces" ]] && { log_skip "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
|
|
command -v cmatrix &> /dev/null && cmatrix -V 2>&1 | head -1 | log_quote
|
|
log_pass "cmatrix installed"
|