* 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>
29 lines
781 B
Bash
Executable File
29 lines
781 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Description:
|
|
# Install fastfetch (fast system information tool).
|
|
#
|
|
|
|
# Skip in Codespaces (cosmetic tool)
|
|
[[ "$DOTS_ENV" == "codespaces" ]] && { log_pass "Skipping in Codespaces"; return 0; }
|
|
|
|
if ! command -v fastfetch &>/dev/null; then
|
|
case "$DOTS_PKG" in
|
|
apt)
|
|
sudo apt-get install -qq fastfetch &>/dev/null
|
|
;;
|
|
pacman)
|
|
yay -S --noconfirm fastfetch &>/dev/null
|
|
;;
|
|
brew)
|
|
brew install fastfetch
|
|
;;
|
|
*)
|
|
log_warn "Skipping fastfetch install: no supported package manager found"
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
echo "fastfetch: $(fastfetch --version 2>&1 | head -1)"
|