#tmux-session #attach #choose #create

app tmux_chooser

Choose a tmux session to attach to or create a new one

5 releases (breaking)

0.5.0 Sep 30, 2020
0.4.0 Sep 30, 2020
0.3.0 Sep 30, 2020
0.2.0 Sep 30, 2020
0.1.0 Sep 30, 2020

#9 in #attach

MIT license

7KB
112 lines

tmux_chooser

Choose a tmux session to attach to or create a new one. Inspired by this shell script.

Install

cargo install tmux_chooser

Deviations

This tmux_chooser deviates from the shell script in the following ways:

  • if an invalid session number is entered, the user is asked for one again
  • if the given session name already exists, we connect to the session instead of erroring out
  • sessions are formatted in a custom way (e.g. displaying the duration for which a session has lived)

Dependencies

~4–12MB
~135K SLoC