aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/common/.authcode
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-19 13:14:52 -0500
committerCraig Jennings <c@cjennings.net>2026-05-19 13:14:52 -0500
commit76a2bbfd9fcc307a66aa220c64ccef2e903a52ec (patch)
treeb0ba747eee936105a44d33fffa4b40c0f9ec8225 /dotfiles/common/.authcode
parent522e0ee0f51e04bead0bb4d4aa7b35abcc133f00 (diff)
downloadarchsetup-76a2bbfd9fcc307a66aa220c64ccef2e903a52ec.tar.gz
archsetup-76a2bbfd9fcc307a66aa220c64ccef2e903a52ec.zip
feat(tmux-util): add pick subcommand (fzf session switcher)
tmux-util pick lists every session ("attached"/"detached" plus name), pipes it through fzf, and attaches or switch-clients to the chosen one (matching the go subcommand's inside-vs-outside-tmux discipline). If the user cancels fzf (Ctrl-C, Esc, empty selection), the pipeline returns empty and pick exits 0 without touching tmux state. The new fake-fzf testing fake is driven by env vars: - FAKE_FZF_CHOICE_LINE=<N>: return the Nth line of stdin as the selection - FAKE_FZF_CHOICE=<string>: return the literal string (ignores stdin) - (neither): exit 130 to simulate cancel 4 new tests cover Normal cases (pick second line, inside/outside tmux behavior) and Boundary cases (no sessions, user cancellation). Total suite: 43 tests, all green.
Diffstat (limited to 'dotfiles/common/.authcode')
0 files changed, 0 insertions, 0 deletions