chore: update

Signed-off-by: Li Tang <iamtangli42@gmail.com>
This commit is contained in:
2026-03-30 09:52:38 +08:00
parent 7a0787ddaa
commit 6c8f48af72
2 changed files with 15 additions and 3 deletions

13
.zshrc
View File

@@ -1,3 +1,7 @@
# 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"
###############################################################################
# My Dotfiles - Zsh Configuration
###############################################################################
@@ -235,7 +239,8 @@ function git_clean() {
git checkout "$base_branch" && \
git config pull.rebase false && \
git pull && \
git branch --merged | grep -v " $base_branch$" | cat | xargs git branch -d && \
git branch --merged | grep -v " $base_branch$" | xargs git branch -d 2>/dev/null; \
git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D 2>/dev/null; \
git worktree prune --verbose
}
@@ -321,6 +326,8 @@ alias python='python3'
alias pip='pip3'
alias sed='gsed'
alias grep='ggrep'
alias cc='claude --append-system-prompt-file ~/.config/opencode/AGENTS.md --model claude-opus-4.6'
alias oc='opencode'
[[ $commands[kubectl] ]] && source <(kubectl completion zsh) && compdef __start_kubectl k
[[ $commands[helm] ]] && source <(helm completion zsh)
@@ -340,3 +347,7 @@ bindkey -M viins '^d' vi-delete-char
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.
[[ -f "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.post.zsh"

View File

@@ -1,4 +1,5 @@
tap "anomalyco/tap"
tap "buo/cask-upgrade"
tap "farion1231/ccswitch"
tap "minio/stable"
tap "oven-sh/bun"
@@ -24,6 +25,7 @@ brew "grep"
brew "helm"
brew "helmfile"
brew "iperf3"
brew "juicefs"
brew "k9s"
brew "kubectx"
brew "kubernetes-cli"
@@ -60,7 +62,6 @@ brew "vitobotta/tap/hetzner_k3s"
cask "1password"
cask "alacritty"
cask "antigravity"
cask "apifox"
cask "brave-browser"
cask "farion1231/ccswitch/cc-switch"
cask "chatgpt"
@@ -95,6 +96,7 @@ cask "typeless"
cask "visual-studio-code@insiders"
cask "wechat"
cask "wechatwork"
cask "wetype"
cask "wpsoffice-cn"
mas "1Password for Safari", id: 1569813296
mas "GarageBand", id: 682658836
@@ -123,7 +125,6 @@ vscode "openai.chatgpt"
vscode "redhat.vscode-yaml"
vscode "rust-lang.rust-analyzer"
vscode "vscodevim.vim"
vscode "vue.volar"
vscode "wakatime.vscode-wakatime"
go "rsc.io/2fa"
go "golang.org/x/tools/cmd/callgraph"