diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-11-28 13:57:12 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-11-28 13:57:12 -0500 |
| commit | 9e239f4341f27cf485a712b1dcf24184afd6c4ed (patch) | |
| tree | 3fd97040a63df86412cf78f4eca1ab7166e9217d | |
| parent | Fix deprecation warnings with brewfile install (diff) | |
| download | dotfiles-9e239f4341f27cf485a712b1dcf24184afd6c4ed.zip | |
Fix 'tmux open terminal failed: not a terminal' with start-tmux on macos
| -rwxr-xr-x | bin/.local/bin/start-tmux | 3 |
1 files changed, 2 insertions, 1 deletions
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 |