Skip to content

Commit 963038f

Browse files
fix(tmux): use full path for pickletown in workspace picker binding
tmux run-shell uses /bin/sh with a minimal PATH that doesn't include pickletown's location, so the fzf picker launched empty (0/0 items). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent db6a0cc commit 963038f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

home/.tmux.conf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ bind -N "open Claude Code" C new-window -c "#{pane_current_path}" "claude"
5656
# replacing undefined vars with empty strings. $(cmd) is safe - tmux doesn't
5757
# process command substitution syntax. If fzf is cancelled, --connect gets an
5858
# empty arg which falls through to the interactive selector (harmless).
59-
bind -N "workspace picker (via pickletown)" N run-shell "pickletown workspaces --connect \"$(pickletown workspaces --color | fzf-tmux -p 80%,70% --ansi --prompt 'workspace> ' | awk '{print $1}')\""
59+
bind -N "workspace picker (via pickletown)" N run-shell "~/pickleton/cli/bin/pickletown workspaces --connect \"$(~/pickleton/cli/bin/pickletown workspaces --color | fzf-tmux -p 80%,70% --ansi --prompt 'workspace> ' | awk '{print $1}')\""
6060

6161
# Keybinding command palette (fuzzy find all bindings with descriptions)
6262
bind -N "command palette" ? run-shell -b "~/.pickles/bin/tmux-command-palette"
@@ -81,8 +81,9 @@ bind -T copy-mode-vi Escape send-keys -X cancel
8181
# Mouse selection copies but stays in copy mode (for tmux-open 'o' to work)
8282
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection-no-clear
8383

84-
# Double-click selects word, copies, and opens if URL (otherwise just copies)
85-
bind -n DoubleClick1Pane select-pane \; copy-mode -M \; send-keys -X select-word \; send-keys -X copy-pipe-and-cancel '~/.pickles/bin/tmux-smart-open'
84+
# Double-click selects word (native tmux behavior with mouse on)
85+
# To open a URL: double-click to select, then press 'o' (tmux-open plugin)
86+
unbind -n DoubleClick1Pane
8687

8788
# Auto-name new sessions after the directory they're started in
8889
# Skips if session was explicitly named (non-numeric name)

0 commit comments

Comments
 (0)