From 73f59ce58921bb6349a4cdae74d4084bc217aa4b Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Mon, 28 Jun 2021 21:32:08 -0400 Subject: [PATCH] tmuxt: pass arguments to st instead of tmux --- man/tmuxt.1.scd | 2 +- tmuxt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/tmuxt.1.scd b/man/tmuxt.1.scd index c9d9b97..7d6d13d 100644 --- a/man/tmuxt.1.scd +++ b/man/tmuxt.1.scd @@ -9,7 +9,7 @@ tmuxt - launch tmux and close the session when you are complete # DESCRIPTION Wrapper script around tmux to prevent sessions from piling up. Creates a new session named the pid of the tmuxt process, and kills it when the process emits -the EXIT signal. All command line arguments are passed directly to tmux. +the EXIT signal. All command line arguments are passed directly to st. # COPYRIGHT This is free and unencumbered software released into the public domain. For more diff --git a/tmuxt b/tmuxt index 17e8a72..4c530d0 100755 --- a/tmuxt +++ b/tmuxt @@ -1,4 +1,4 @@ #!/usr/bin/env sh trap "tmux kill-session -t $$" EXIT -st -e tmux new-session -s $$ $@ +st $@ -e tmux new-session -s $$ -f ~/.config/tmux/tmux.conf -- 2.39.2