chore: sync mise deps, gh copilot extension

This commit is contained in:
2026-02-02 15:59:55 +00:00
parent d872eda9ee
commit 6e58b3e95d
3 changed files with 11 additions and 33 deletions

View File

@@ -7,7 +7,8 @@ alias reload-cache='rm -rf "${XDG_CACHE_HOME:-$HOME/.cache}/dots" ~/.zcompdump*
alias zen='curl -s https://api.github.com/zen && echo' alias zen='curl -s https://api.github.com/zen && echo'
alias la='ls -la' alias la='ls -la'
alias vi='vim' alias vi='vim'
alias colby='copilot --allow-all-tools --allow-all-paths --banner' alias copilot='gh copilot'
alias colby='copilot --allow-all-tools --allow-all-paths'
alias gs='git s' alias gs='git s'
alias gd='git d' alias gd='git d'
alias gdc='git dc' alias gdc='git dc'

View File

@@ -42,12 +42,12 @@ mise --version
# Define all tools to install # Define all tools to install
typeset -a MISE_TOOLS=( typeset -a MISE_TOOLS=(
"python@3" "python@3.14.2"
"poetry@latest" "poetry@2.3.2"
"node@lts" "node@25.5.0"
"gh@latest" "gh@2.86.0"
"terraform@latest" "terraform@1.14.4"
"firebase@latest" "firebase@15.5.1"
) )
# Install all tools in parallel # Install all tools in parallel
@@ -56,12 +56,9 @@ mise install "${MISE_TOOLS[@]}"
# Set global versions # Set global versions
log_info "Setting global versions..." log_info "Setting global versions..."
mise use -g python@3 for tool in "${MISE_TOOLS[@]}"; do
mise use -g poetry@latest mise use -g "$tool"
mise use -g node@lts done
mise use -g gh@latest
mise use -g terraform@latest
mise use -g firebase@latest
# Activate mise environment for current session # Activate mise environment for current session
eval "$(mise activate bash)" eval "$(mise activate bash)"

View File

@@ -1,20 +0,0 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install GitHub Copilot CLI (globally via npm).
#
if ! command -v npm &>/dev/null; then
log_warn "npm not found, skipping"
return 0
fi
# Install if not present
if ! command -v copilot &>/dev/null; then
log_info "Installing GitHub Copilot CLI..."
npm install -g @github/copilot --silent
fi
# Verify installation
log_info "GitHub Copilot CLI: $(copilot --version 2>&1 | head -1)"