4 ms·
If this tmux-fzf setup could be augmented to perform preview and grep not only on window name but also window contents then I'd consider migrating from the alre
by hyperpl 4y ago
If this tmux-fzf setup could be augmented to perform preview and grep not only on window name but also window contents then I'd consider migrating from the already built-in `choose-tree -Zw` command.
- deleted 4y ago[deleted]
- ivank 4y agorpick() { session=$(for i in $(tmux list-sessions -F '#S'); do echo -e -n "$i\t"; { { tmux capture-pane -p -t "$i" | tr '\n' ' '; } || true; } echo done | fzf --exact --reverse | cut -f 1) if [[ "$session" != "" ]]; then tmux attach -t "$session" fi }