/tmux-companion

Your POSIX companion for tmux session and layout managment.

Primary LanguageShellMIT LicenseMIT

Tmux Companion

Your POSIX companion for tmux session and layout managment.

Dependencies

  • tmux (duh!)

  • POSIX compliant shell

  • POSIX utils

  • fzf or your favorite picker (e.g. fzy, rofi, dmenu, etc)

Installation

Important
Make sure that ~/.local/bin is in your PATH.
mkdir -p ~/.local/bin
curl https://raw.githubusercontent.com/saccarosium/tmux-companion/main/tm -o ~/.local/bin/tm
chmod +x ~/.local/bin/tm

Usage

Note
For more info run tm --help
demo.mov
demo2.mov

Acknowledgment

This script was inspired originally inspired by ThePrimeagen’s tmux-sessionizer, but since the shell scripting foo of ThePrimeagen is very lacking, and the man continue to push a broken script, I’ve decided to publish my improved version, first conceptualized in this PR (was my first PR on Github didn’t know how to use git).