-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry shell modifies $TERM env variable within tmux #10
Comments
Not a I avoid |
Yeah I do the same thing to prevent this issue but I still wanted to report this so it can be fixed eventually if it's not just an issue on my side. |
if you know how to fix it, submit a merge request! (personally I'd like to see |
I've actually skimmed the code for |
-vvv
option) and have included the output below.Issue
Hey, I'm an avid tmux user and love poetry so far, thanks for your work!
The issue I am experiencing is that when I run
poetry shell
my$TERM
env variable is being changed fromscreen-256color
totmux-256color
which breaks my terminal colors. Manually setting it back toscreen-256color
works fine. I'm running zsh 5.9 as my shell of choice.EDIT:
I can see that
emulate bash -c '. .../.venv/bin/activate'
is being run in my shell when I runpoetry shell
. The command should be POSIX-compatible so I don't see a reason for it to be emulated. Maybe that causes some kind of issues but that's just speculation on my part.The text was updated successfully, but these errors were encountered: