#tmux-session #command-line-tool #cli

app tsm

tsm(tmux session manager) is a cli tool to switch and create tmux sessions

1 unstable release

0.1.0 Dec 27, 2023

#21 in #tmux-session

GPL-3.0-or-later

23KB
100 lines

tsm

tsm is a rust cli tool to manage tmux sessions. Switch to an existing session or create a new session.

Features

  • Switch Session: Switch to an existing tmux session.
  • Create Session: Create a new tmux session with specified name.

Requirements

Installation

  1. Clone and build the project:

    git clone https://github.com/halshar/tsm.git
    cargo build --release
    
  2. Install using cargo

    cargo install tsm
    

Usage

  1. Create a tmux binding in your .tmux.conf file
    # switch/create session
    # <prefix>+o will trigger the script
    bind-key o display-popup -E "tsm"
    
  2. Within an active tmux session, run the command
    tsm
    

Acknowledgments

Contributions

Contributions are welcome! Please open an issue or pull request for any changes or suggestions.

License

This project is licensed under the GPLv3 License.

Dependencies

~13MB
~244K SLoC