tpm
tpm copied to clipboard
Document another "tpm not working" edge case
Hello.
Recently I could not get tpm to work and after much digging it turned out that my environment was incorrect. I configured Alacritty to use tmux as a shell directly and everything worked except for the tpm. Turns out the default environment is very basic and tmux itself was not even in the $PATH.
This is very much an edge case so I would understand if you do not want to merge. Technically not even a problem with tpm. But others might hit it the way I did and maybe the description would help.
Thank you!
Hey,
this does look like a very edge case.. I never heard of a tip to use tmux as a shell..
this does look like a very edge case.. I never heard of a tip to use
tmuxas a shell..
Agreed but it makes sense to do so in certain situations. I encountered one such situation and tpm was the only thing that failed to work.
So what would you like to do with this PR? Should I close it?
Let's see if others have the same issue.. if yea and if they find this PR helpful then we should probably merge it so it's easily accessible.
Ok, let's wait for some "me too"s. Thank you!
This happened to me today, thank you for documenting this! Saved me a lot of time.
Me too. thanks for documenting this. I think the best solution would be tmux improving its behavior when used as the first level shell. But that was already declined...
In general, it is discouraged to use tmux directly as a login shell (/etc/shells). I understand that you want to be in tmux right after creating the terminal emulator, but IMO the right way should be executing tmux as the last command during shell initialization (e.g. ~/.bash_profile on macOS). A lot of thing is going to break if the “login shell” is not POSIX…