mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 15:09:34 +00:00
chore: 更新 zshrc 和 tmux 配置
- tmux 开启 focus-events 支持 shell integration (claude code, vim) - cc alias 添加 --permission-mode auto 参数
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# ==== Common ====
|
# ==== Common ====
|
||||||
set -g default-command /bin/zsh
|
set -g default-command /bin/zsh
|
||||||
|
# enable focus events for shell integration (claude code, vim, etc.)
|
||||||
|
set -g focus-events on
|
||||||
# rebind PREFIX to C-a
|
# rebind PREFIX to C-a
|
||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
|
|
||||||
|
|||||||
2
.zshrc
2
.zshrc
@@ -126,7 +126,7 @@ alias sed='gsed'
|
|||||||
alias grep='ggrep'
|
alias grep='ggrep'
|
||||||
alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"
|
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'
|
alias cc='claude --permission-mode auto'
|
||||||
alias oc='opencode'
|
alias oc='opencode'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user