]> git.armaanb.net Git - bin.git/commitdiff
tmuxt: pass arguments to st instead of tmux
authorArmaan Bhojwani <me@armaanb.net>
Tue, 29 Jun 2021 01:32:08 +0000 (21:32 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Tue, 29 Jun 2021 01:32:08 +0000 (21:32 -0400)
man/tmuxt.1.scd
tmuxt

index c9d9b971cda9ed8c2ffd1f3d6034da7f4cc00925..7d6d13d66a5cebee2f62c58c31812589851c2146 100644 (file)
@@ -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 17e8a72e872f44ae24287ab86e037c54158ef2b9..4c530d066876b807754e8a8b61444d9a79c7a70e 100755 (executable)
--- 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