Closed koichirose closed 2 years ago
Hello @koichirose 👋
The line you're mentioning is only executed when reattach-to-user-namespace
is installed.
Can you please paste the output of
$ command -v reattach-to-user-namespace
With modern macOS and tmux, there's no need to use thisreattach-to-user-namespace
anymore. Just uninstall it.
Confirmed, I removed reattach-to-user-namespace
and now the arch command correctly returns amd64
.
Thank you very much!
Now I'm curious!
Did you freshly install reattach-to-user-namespace
on a M1 Mac? Why? Did README.md
make you believe you needed it?
I did not! I migrated from my previous Intel Mac.
But yes, this would make me believe that it is needed:
https://github.com/gpakosz/.tmux/blob/master/README.md?plain=1#L115
Plus the whole section below about installing reattach-to-user-namespace
I see. I'll revisit README.md
.
Happy tmuxing!
Running
arch
inside tmux returnsi386
instead ofarm64
. This only happens if I use the.tmux.conf
from this repo, so I found out that removing this fixes the issue: https://github.com/gpakosz/.tmux/blob/master/.tmux.conf#L1450I'm not sure what it does.
$default_shell
in my case is/bin/zsh