mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 15:09:34 +00:00
18
.zshrc
18
.zshrc
@@ -33,6 +33,9 @@ export PATH="$PATH:/Users/d0zingcat/.lmstudio/bin"
|
|||||||
# End of LM Studio CLI section
|
# End of LM Studio CLI section
|
||||||
export PATH="$PATH:$JAVA_HOME/bin"
|
export PATH="$PATH:$JAVA_HOME/bin"
|
||||||
|
|
||||||
|
|
||||||
|
# SSH use 1password socket
|
||||||
|
export SSH_AUTH_SOCK=~/.1password/agent.sock
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
@@ -61,6 +64,9 @@ export LDFLAGS=$LDFLAGS
|
|||||||
export CPPFLAGS=$CPPFLAGS
|
export CPPFLAGS=$CPPFLAGS
|
||||||
export ZSH_HIGHLIGHT_MAXLENGTH=60
|
export ZSH_HIGHLIGHT_MAXLENGTH=60
|
||||||
export GIT_EXTERNAL_DIFF=difft
|
export GIT_EXTERNAL_DIFF=difft
|
||||||
|
# Added by Antigravity
|
||||||
|
export PATH="$HOME/.antigravity/antigravity/bin:$PATH"
|
||||||
|
|
||||||
|
|
||||||
FPATH="$brew_opt/share/zsh/site-functions:${FPATH}"
|
FPATH="$brew_opt/share/zsh/site-functions:${FPATH}"
|
||||||
DISABLE_MAGIC_FUNCTIONS=true
|
DISABLE_MAGIC_FUNCTIONS=true
|
||||||
@@ -78,7 +84,6 @@ if [ -f "$HOME/.antigen/antigen.zsh" ]; then
|
|||||||
antigen bundle zsh-users/zsh-completions
|
antigen bundle zsh-users/zsh-completions
|
||||||
antigen bundle git
|
antigen bundle git
|
||||||
antigen bundle kubectl
|
antigen bundle kubectl
|
||||||
antigen bundle autojump
|
|
||||||
antigen bundle pip
|
antigen bundle pip
|
||||||
antigen bundle nvim
|
antigen bundle nvim
|
||||||
antigen bundle darvid/zsh-poetry
|
antigen bundle darvid/zsh-poetry
|
||||||
@@ -128,6 +133,7 @@ alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"
|
|||||||
alias ghostty='/Applications/Ghostty.app/Contents/MacOS/ghostty'
|
alias ghostty='/Applications/Ghostty.app/Contents/MacOS/ghostty'
|
||||||
alias cc='claude --permission-mode auto'
|
alias cc='claude --permission-mode auto'
|
||||||
alias oc='opencode'
|
alias oc='opencode'
|
||||||
|
alias claude-mem='bun "$HOME/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs"'
|
||||||
|
|
||||||
|
|
||||||
# -- MISC Configuration --
|
# -- MISC Configuration --
|
||||||
@@ -135,6 +141,7 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
|||||||
command -v starship >/dev/null 2>&1 && eval "$(starship init zsh)"
|
command -v starship >/dev/null 2>&1 && eval "$(starship init zsh)"
|
||||||
command -v direnv >/dev/null 2>&1 && eval "$(direnv hook zsh)"
|
command -v direnv >/dev/null 2>&1 && eval "$(direnv hook zsh)"
|
||||||
command -v lsd >/dev/null 2>&1 && alias ls='lsd'
|
command -v lsd >/dev/null 2>&1 && alias ls='lsd'
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
export ZSH_COMPLETION_CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh"
|
export ZSH_COMPLETION_CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh"
|
||||||
mkdir -p "$ZSH_COMPLETION_CACHE"
|
mkdir -p "$ZSH_COMPLETION_CACHE"
|
||||||
@@ -159,7 +166,6 @@ if [[ $commands[helm] ]]; then
|
|||||||
fi
|
fi
|
||||||
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
|
[ -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
|
[ -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 command -v fzf >/dev/null 2>&1; then
|
||||||
@@ -176,10 +182,6 @@ bindkey -M viins '^f' vi-forward-char
|
|||||||
bindkey -M viins '^d' vi-delete-char
|
bindkey -M viins '^d' vi-delete-char
|
||||||
[ -f ~/.env ] && source ~/.env
|
[ -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 --
|
# -- Functions --
|
||||||
# menu
|
# menu
|
||||||
@@ -496,9 +498,5 @@ function copilot_local {
|
|||||||
copilot
|
copilot
|
||||||
}
|
}
|
||||||
|
|
||||||
# Kiro CLI post block. Keep at the bottom of this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
# 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"
|
# [[ -f "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/kiro-cli/shell/zshrc.post.zsh"
|
||||||
|
|||||||
9
Brewfile
9
Brewfile
@@ -3,9 +3,11 @@ tap "buo/cask-upgrade"
|
|||||||
tap "clojure/tools"
|
tap "clojure/tools"
|
||||||
tap "d0zingcat/tap", "https://github.com/d0zingcat/homebrew-tap.git"
|
tap "d0zingcat/tap", "https://github.com/d0zingcat/homebrew-tap.git"
|
||||||
tap "farion1231/ccswitch"
|
tap "farion1231/ccswitch"
|
||||||
|
tap "hashicorp/tap"
|
||||||
tap "markmals/tap"
|
tap "markmals/tap"
|
||||||
tap "minio/stable"
|
tap "minio/stable"
|
||||||
tap "oven-sh/bun"
|
tap "oven-sh/bun"
|
||||||
|
tap "qoderai/qoder"
|
||||||
tap "t8y2/tap"
|
tap "t8y2/tap"
|
||||||
tap "vitobotta/tap"
|
tap "vitobotta/tap"
|
||||||
brew "actionlint"
|
brew "actionlint"
|
||||||
@@ -14,7 +16,6 @@ brew "agent-browser"
|
|||||||
brew "aliyun-cli"
|
brew "aliyun-cli"
|
||||||
brew "argocd"
|
brew "argocd"
|
||||||
brew "asciinema"
|
brew "asciinema"
|
||||||
brew "autojump"
|
|
||||||
brew "awscli"
|
brew "awscli"
|
||||||
brew "bash"
|
brew "bash"
|
||||||
brew "bat"
|
brew "bat"
|
||||||
@@ -48,6 +49,7 @@ brew "luajit"
|
|||||||
brew "luarocks"
|
brew "luarocks"
|
||||||
brew "mas"
|
brew "mas"
|
||||||
brew "maven"
|
brew "maven"
|
||||||
|
brew "mtr"
|
||||||
brew "protobuf"
|
brew "protobuf"
|
||||||
brew "mysql@8.4", link: true
|
brew "mysql@8.4", link: true
|
||||||
brew "neofetch"
|
brew "neofetch"
|
||||||
@@ -69,8 +71,10 @@ brew "uv"
|
|||||||
brew "wget"
|
brew "wget"
|
||||||
brew "xcbeautify"
|
brew "xcbeautify"
|
||||||
brew "yazi"
|
brew "yazi"
|
||||||
|
brew "zoxide"
|
||||||
brew "zsh"
|
brew "zsh"
|
||||||
brew "clojure/tools/clojure"
|
brew "clojure/tools/clojure"
|
||||||
|
brew "hashicorp/tap/terraform"
|
||||||
brew "minio/stable/mc"
|
brew "minio/stable/mc"
|
||||||
brew "oven-sh/bun/bun"
|
brew "oven-sh/bun/bun"
|
||||||
brew "vitobotta/tap/hetzner_k3s"
|
brew "vitobotta/tap/hetzner_k3s"
|
||||||
@@ -106,6 +110,7 @@ cask "notion"
|
|||||||
cask "obsidian"
|
cask "obsidian"
|
||||||
cask "only-switch"
|
cask "only-switch"
|
||||||
cask "orbstack"
|
cask "orbstack"
|
||||||
|
cask "qoderai/qoder/qodercli"
|
||||||
cask "qq"
|
cask "qq"
|
||||||
cask "raycast"
|
cask "raycast"
|
||||||
cask "spotify"
|
cask "spotify"
|
||||||
@@ -114,6 +119,7 @@ cask "tablepro"
|
|||||||
cask "teamviewer"
|
cask "teamviewer"
|
||||||
cask "telegram"
|
cask "telegram"
|
||||||
cask "typeless"
|
cask "typeless"
|
||||||
|
cask "d0zingcat/tap/typeswitch"
|
||||||
cask "visual-studio-code@insiders"
|
cask "visual-studio-code@insiders"
|
||||||
cask "wechat"
|
cask "wechat"
|
||||||
cask "wechatwork"
|
cask "wechatwork"
|
||||||
@@ -126,6 +132,7 @@ mas "Keynote", id: 409183694
|
|||||||
mas "Numbers", id: 409203825
|
mas "Numbers", id: 409203825
|
||||||
mas "Pages", id: 409201541
|
mas "Pages", id: 409201541
|
||||||
go "rsc.io/2fa"
|
go "rsc.io/2fa"
|
||||||
|
go "github.com/air-verse/air"
|
||||||
go "golang.org/x/tools/cmd/callgraph"
|
go "golang.org/x/tools/cmd/callgraph"
|
||||||
go "github.com/go-delve/delve/cmd/dlv"
|
go "github.com/go-delve/delve/cmd/dlv"
|
||||||
go "entgo.io/ent/cmd/ent"
|
go "entgo.io/ent/cmd/ent"
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
.worktree
|
.worktree
|
||||||
|
|
||||||
**/.claude/settings.local.json
|
**/.claude/settings.local.json
|
||||||
|
# Qoder local files (private, not committed)
|
||||||
|
AGENTS.local.md
|
||||||
|
*.local.md
|
||||||
|
|||||||
Reference in New Issue
Block a user