Compare commits

..

3 Commits

Author SHA1 Message Date
a73a920e7e feat: default dev trigger nothing
Signed-off-by: Li Tang <iamtangli42@gmail.com>
2026-05-11 13:12:31 +08:00
b3196ab29b fix: typo
Signed-off-by: Li Tang <iamtangli42@gmail.com>
2026-05-11 12:11:30 +08:00
de58d7b089 feat: add claude code alias
Signed-off-by: Li Tang <iamtangli42@gmail.com>
2026-05-11 11:22:11 +08:00

9
.zshrc
View File

@@ -131,7 +131,8 @@ 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 --permission-mode auto'
alias cc='claude'
alias ccd='claude --dangerously-skip-permissions'
alias oc='opencode'
alias claude-mem='bun "$HOME/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs"'
@@ -380,7 +381,7 @@ function bitnami_seal() {
function dev() {
local session=""
local layout="simple"
local tool="cc"
local tool=""
for arg in "$@"; do
case "$arg" in
@@ -424,7 +425,7 @@ function dev() {
# Only enable passthrough for yazi pane (image display); keep it off elsewhere
# to prevent Ghostty DA/XTVERSION responses leaking into other panes' stdin.
# tmux set-option -p -t "$tr" allow-passthrough on
tmux send-keys -t "$left" "$tool" Enter
[[ -n "$tool" ]] && tmux send-keys -t "$left" "$tool" Enter
tmux send-keys -t "$tr" "yazi" Enter
tmux send-keys -t "$br" "lazygit" Enter
else
@@ -435,7 +436,7 @@ function dev() {
br=$(tmux split-window -t "$tr" -v -c "$cwd" -P -F "#{pane_id}")
# tmux set-option -p -t "$tr" allow-passthrough on
tmux send-keys -t "$left" "$tool" Enter
[[ -n "$tool" ]] && tmux send-keys -t "$left" "$tool" Enter
tmux send-keys -t "$tr" "yazi" Enter
fi