#tmux #tmux-session #foo #command #wrapper #shortener #remux

app tmux-remux

A friendly command shortener for tmux

1 unstable release

0.2.0 Mar 4, 2024

#8 in #shortener

41 downloads per month

MIT license

15KB
304 lines

ReMux: a friendlier tmux wrapper

Pronounced [ ɹ̠i məks ], like "remix."

A tmux wrapper and command shortener written in Rust. ReMux's goal is to wrap tmux commands to be both shorter, and oriented around session names instead of session IDs.

In their shortest forms, every ReMux command is as short or shorter than its equivalent tmux command:


#	new session
tmux new-session -t foo
remux n foo

#	lists
tmux ls
remux l
remux

#	attach
tmux a -t foo
remux a foo

#	has
tmux has -t foo
remux has foo

#	detach
tmux detach-client -t foo
remux d foo

#	nesting sessions with '-n' flag
TMUX='' tmux a -t foo
remux a -n foo
TMUX='' tmux new-session -t foo
remux n -n foo

Dependencies

ReMux depends on tmux.

Installation

Manual Install

Release Binary Copy the compiled binary from the releases page to a directory in $PATH, such as /usr/bin/.
Compile from Source Compile using cargo with the command cargo build --release and copy the file from target/release/ to a directory in $PATH, such as /usr/bin/.
makepkg (AUR) Clone the AUR Repository and run the command makepkg --install.

Package Managers

Arch Linux (AUR): remux Install the package from the remux AUR Package using an AUR package manager such as paru.

Libraries

Dependencies

~3MB
~60K SLoC