Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.62 KB

File metadata and controls

51 lines (32 loc) · 1.62 KB

fzf-sesh

fzf integration for sesh.

But sesh already provided bindings for fzf in the README!

Yes, but currently, the bindings don't support nerd font icons, and require some manual setup to get working. This script aims to provide an out of the box bridge between fzf and sesh with the following features

  • fzf-sesh command to launch a sesh picker with fzf
  • Support fzf picker with icons and handles postprocessing of the selected session to connect to
  • (Optional) replace sesh and sesh connect without arguments to launch the fzf sesh picker

Prerequisites

Installation

Clone this repository to your machine (e.g. ~/.local/share/fzf-sesh).

git clone https://github.com/PookieBuns/fzf-sesh.git ~/.local/share/fzf-sesh

If you want to replace the default sesh command with fzf-sesh, add the following to your shell configuration file (e.g. ~/.bashrc or ~/.zshrc).

source ~/.local/share/fzf-sesh/bin/fzf-sesh

If you want to use fzf-sesh as a separate command instead, add the executable to your PATH.

export PATH=$PATH:$HOME/.local/share/fzf-sesh/bin

Usage

  • Outside of tmux

    fzf-sesh will open up a fzf picker to select a session to connect to.

  • Inside of tmux

    fzf-sesh will call the fzf + tmux tmux popup picker to manage your current tmux sessions.