#!/bin/bash

function tmux_sesh_wind() {
for sesh in $(tmux list-sessions -F "#S"); do
for win in $(tmux list-windows -t $sesh -F "#W"); do
echo "$sesh:$win";
done;
done;
}

RET=$(tmux_sesh_wind | fzf)
tmux switch-client -t $RET