tmux-sessionizer # Fuzzy find directory and start session
tmux-sessionizer [<partial session name>]
tmux-sessionizer -s # Fuzzy find sessions by nameYou can change the DIRs fzf looks through here:
HOME=~/
PERSONAL=~/personal/
CONFIG=~/.config/You could add more DIRs to look through here:
session_dir=$(find $HOME $PERSONAL $CONFIG -mindepth 1 -maxdepth 1 -type d | fzf)
Adding to shell as a keybind example, I am using zsh on MacOS:
# .zshrc
export tmux_sessionizer="/usr/local/bin/tmux-sessionizer"
bindkey -s "^f" "tmux-sessionizer\n" # Now pressing ctrl+f will open the fuzzy finderInspired by theprimeagen/tmux-sessionizer, although mine actually matches partial session names...