mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 15:09:34 +00:00
Compare commits
3 Commits
8504a6b60a
...
a73a920e7e
| Author | SHA1 | Date | |
|---|---|---|---|
| a73a920e7e | |||
| b3196ab29b | |||
| de58d7b089 |
9
.zshrc
9
.zshrc
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user