From 93cc4e8d827a667627afde315b7ceef7a0546d8e Mon Sep 17 00:00:00 2001 From: Li Tang Date: Fri, 8 May 2026 15:24:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20zshrc=20=E5=92=8C?= =?UTF-8?q?=20tmux=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tmux 开启 focus-events 支持 shell integration (claude code, vim) - cc alias 添加 --permission-mode auto 参数 --- .tmux.conf | 2 ++ .zshrc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 122e2e1..2687538 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,5 +1,7 @@ # ==== Common ==== 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 set-option -g prefix C-a diff --git a/.zshrc b/.zshrc index 366117f..8a4f99a 100644 --- a/.zshrc +++ b/.zshrc @@ -126,7 +126,7 @@ alias sed='gsed' alias grep='ggrep' alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale" alias ghostty='/Applications/Ghostty.app/Contents/MacOS/ghostty' -alias cc='claude' +alias cc='claude --permission-mode auto' alias oc='opencode'