From 9e239f4341f27cf485a712b1dcf24184afd6c4ed Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 28 Nov 2025 13:57:12 -0500 Subject: Fix 'tmux open terminal failed: not a terminal' with start-tmux on macos --- bin/.local/bin/start-tmux | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/.local/bin/start-tmux b/bin/.local/bin/start-tmux index 4416b1e..7ff8106 100755 --- a/bin/.local/bin/start-tmux +++ b/bin/.local/bin/start-tmux @@ -1,4 +1,5 @@ #!/bin/sh set -e -tmux new-session -A -s "$USER" +tmux new-session -A -s "$USER" -d +exec tmux attach-session -t "$USER" || true -- cgit v1.2.3