Compare commits

..

2 Commits

2 changed files with 18 additions and 4 deletions

View File

@@ -3,10 +3,16 @@
# Detaches the client if all panes in the window are dead afterwards.
agents=()
command -v claude &>/dev/null && agents+=(claude)
command -v opencode &>/dev/null && agents+=(opencode)
command -v agy &>/dev/null && agents+=(agy)
command -v codex &>/dev/null && agents+=(codex)
agent_names=(
pi
claude
opencode
codex
agy
)
for agent_name in ${agent_names[@]}; do
command -v $agent_name &>/dev/null && agents+=($agent_name)
done
if [ ${#agents[@]} -eq 0 ]; then
echo "No agent commands found (claude, opencode, gemini)"

View File

@@ -38,6 +38,14 @@ set -as terminal-features ',xterm*:clipboard'
# Focus events enabled for terminals that support them
set -g focus-events on
# Forward modifier information so apps, csi-u format requires tmux 3.5+.
if -b '~/.config/tmux/check-version.sh ">= 3.2"' {
set -g extended-keys on
}
if -b '~/.config/tmux/check-version.sh ">= 3.5"' {
set -g extended-keys-format csi-u
}
# Aggressively resize the chosen window to smallest/largest session
setw -g aggressive-resize on