diff --git a/.zshrc b/.zshrc index 92e6ae2..366117f 100644 --- a/.zshrc +++ b/.zshrc @@ -2,6 +2,9 @@ # Kiro CLI pre block. Keep at the top of this file. # [[ -f "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.pre.zsh" + +# Kiro CLI pre block. Keep at the top of this file. +# ############################################################################### # My Dotfiles - Zsh Configuration ############################################################################### @@ -126,6 +129,58 @@ alias ghostty='/Applications/Ghostty.app/Contents/MacOS/ghostty' alias cc='claude' alias oc='opencode' + +# -- MISC Configuration -- +zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} +command -v starship >/dev/null 2>&1 && eval "$(starship init zsh)" +command -v direnv >/dev/null 2>&1 && eval "$(direnv hook zsh)" +command -v lsd >/dev/null 2>&1 && alias ls='lsd' + +export ZSH_COMPLETION_CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh" +mkdir -p "$ZSH_COMPLETION_CACHE" + +if [[ $commands[kubectl] ]]; then + if [[ ! -s "$ZSH_COMPLETION_CACHE/_kubectl" ]]; then + command kubectl completion zsh >| "$ZSH_COMPLETION_CACHE/_kubectl" 2>/dev/null + fi + if [[ -s "$ZSH_COMPLETION_CACHE/_kubectl" ]]; then + source "$ZSH_COMPLETION_CACHE/_kubectl" + compdef __start_kubectl k + fi +fi + +if [[ $commands[helm] ]]; then + if [[ ! -s "$ZSH_COMPLETION_CACHE/_helm" ]]; then + command helm completion zsh >| "$ZSH_COMPLETION_CACHE/_helm" 2>/dev/null + fi + if [[ -s "$ZSH_COMPLETION_CACHE/_helm" ]]; then + source "$ZSH_COMPLETION_CACHE/_helm" + fi +fi +[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun" + +[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh +[ -f /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc ] && . /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc + +if command -v fzf >/dev/null 2>&1; then + if [[ ! -s "$ZSH_COMPLETION_CACHE/fzf.zsh" ]]; then + command fzf --zsh >| "$ZSH_COMPLETION_CACHE/fzf.zsh" 2>/dev/null + fi + if [[ -s "$ZSH_COMPLETION_CACHE/fzf.zsh" ]]; then + source "$ZSH_COMPLETION_CACHE/fzf.zsh" + fi +fi + +bindkey -M viins '^b' vi-backward-char +bindkey -M viins '^f' vi-forward-char +bindkey -M viins '^d' vi-delete-char +[ -f ~/.env ] && source ~/.env + +# Added by Antigravity +export PATH="$HOME/.antigravity/antigravity/bin:$PATH" + +alias claude-mem='bun "$HOME/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs"' + # -- Functions -- # menu function m() { @@ -433,58 +488,17 @@ function scratch() { disown } -# -- MISC Configuration -- -zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} -command -v starship >/dev/null 2>&1 && eval "$(starship init zsh)" -command -v direnv >/dev/null 2>&1 && eval "$(direnv hook zsh)" -command -v lsd >/dev/null 2>&1 && alias ls='lsd' +function copilot_local { + export COPILOT_PROVIDER_TYPE=anthropic + export COPILOT_PROVIDER_BASE_URL=http://localhost:8990 + export COPILOT_PROVIDER_API_KEY=sk-kiro-rs-qazWSXedcRFV123456 + export COPILOT_MODEL=claude-opus-4.6 + copilot +} -export ZSH_COMPLETION_CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh" -mkdir -p "$ZSH_COMPLETION_CACHE" - -if [[ $commands[kubectl] ]]; then - if [[ ! -s "$ZSH_COMPLETION_CACHE/_kubectl" ]]; then - command kubectl completion zsh >| "$ZSH_COMPLETION_CACHE/_kubectl" 2>/dev/null - fi - if [[ -s "$ZSH_COMPLETION_CACHE/_kubectl" ]]; then - source "$ZSH_COMPLETION_CACHE/_kubectl" - compdef __start_kubectl k - fi -fi - -if [[ $commands[helm] ]]; then - if [[ ! -s "$ZSH_COMPLETION_CACHE/_helm" ]]; then - command helm completion zsh >| "$ZSH_COMPLETION_CACHE/_helm" 2>/dev/null - fi - if [[ -s "$ZSH_COMPLETION_CACHE/_helm" ]]; then - source "$ZSH_COMPLETION_CACHE/_helm" - fi -fi -[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun" - -[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh -[ -f /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc ] && . /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc - -if command -v fzf >/dev/null 2>&1; then - if [[ ! -s "$ZSH_COMPLETION_CACHE/fzf.zsh" ]]; then - command fzf --zsh >| "$ZSH_COMPLETION_CACHE/fzf.zsh" 2>/dev/null - fi - if [[ -s "$ZSH_COMPLETION_CACHE/fzf.zsh" ]]; then - source "$ZSH_COMPLETION_CACHE/fzf.zsh" - fi -fi - -bindkey -M viins '^b' vi-backward-char -bindkey -M viins '^f' vi-forward-char -bindkey -M viins '^d' vi-delete-char -[ -f ~/.env ] && source ~/.env - -# Added by Antigravity -export PATH="$HOME/.antigravity/antigravity/bin:$PATH" - -alias claude-mem='bun "$HOME/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs"' +# Kiro CLI post block. Keep at the bottom of this file. +# # Kiro CLI post block. Keep at the bottom of this file. # [[ -f "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.post.zsh" - diff --git a/Brewfile b/Brewfile index 14c5550..5185a86 100644 --- a/Brewfile +++ b/Brewfile @@ -1,14 +1,17 @@ tap "anomalyco/tap" tap "buo/cask-upgrade" +tap "clojure/tools" tap "d0zingcat/tap", "https://github.com/d0zingcat/homebrew-tap.git" tap "farion1231/ccswitch" tap "markmals/tap" tap "minio/stable" tap "oven-sh/bun" +tap "t8y2/tap" tap "vitobotta/tap" brew "actionlint" brew "node" brew "agent-browser" +brew "aliyun-cli" brew "argocd" brew "asciinema" brew "autojump" @@ -36,6 +39,7 @@ brew "juicefs" brew "k9s" brew "kubectx" brew "kubernetes-cli" +brew "kustomize" brew "lazygit" brew "lrzsz" brew "lsd" @@ -66,12 +70,12 @@ brew "wget" brew "xcbeautify" brew "yazi" brew "zsh" +brew "clojure/tools/clojure" brew "minio/stable/mc" brew "oven-sh/bun/bun" brew "vitobotta/tap/hetzner_k3s" cask "1password" cask "antigravity" -cask "brave-browser" cask "cc-switch" cask "chatgpt" cask "cherry-studio" @@ -84,6 +88,7 @@ cask "copilot-cli" cask "cursor" cask "datagrip" cask "db-browser-for-sqlite" +cask "t8y2/tap/dbx" cask "feishu" cask "font-jetbrains-mono-nerd-font" cask "font-maple-mono-nf-cn" @@ -105,6 +110,7 @@ cask "qq" cask "raycast" cask "spotify" cask "stats" +cask "tablepro" cask "teamviewer" cask "telegram" cask "typeless"