Skip to content

carlbeattie2000/tmux-sessionizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

tmux-sessionizer

Everything fuzzy

tmux-sessionizer # Fuzzy find directory and start session
tmux-sessionizer [<partial session name>]
tmux-sessionizer -s # Fuzzy find sessions by name

You 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 finder

Inspired by theprimeagen/tmux-sessionizer, although mine actually matches partial session names...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages