chore: sync mise deps, gh copilot extension
This commit is contained in:
@@ -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 la='ls -la'
|
||||
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 gd='git d'
|
||||
alias gdc='git dc'
|
||||
|
||||
@@ -42,12 +42,12 @@ mise --version
|
||||
|
||||
# Define all tools to install
|
||||
typeset -a MISE_TOOLS=(
|
||||
"python@3"
|
||||
"poetry@latest"
|
||||
"node@lts"
|
||||
"gh@latest"
|
||||
"terraform@latest"
|
||||
"firebase@latest"
|
||||
"python@3.14.2"
|
||||
"poetry@2.3.2"
|
||||
"node@25.5.0"
|
||||
"gh@2.86.0"
|
||||
"terraform@1.14.4"
|
||||
"firebase@15.5.1"
|
||||
)
|
||||
|
||||
# Install all tools in parallel
|
||||
@@ -56,12 +56,9 @@ mise install "${MISE_TOOLS[@]}"
|
||||
|
||||
# Set global versions
|
||||
log_info "Setting global versions..."
|
||||
mise use -g python@3
|
||||
mise use -g poetry@latest
|
||||
mise use -g node@lts
|
||||
mise use -g gh@latest
|
||||
mise use -g terraform@latest
|
||||
mise use -g firebase@latest
|
||||
for tool in "${MISE_TOOLS[@]}"; do
|
||||
mise use -g "$tool"
|
||||
done
|
||||
|
||||
# Activate mise environment for current session
|
||||
eval "$(mise activate bash)"
|
||||
|
||||
@@ -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)"
|
||||
Reference in New Issue
Block a user