You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on the latest stable Poetry version, installed using a recommended method.
I have searched the issues of this repo and believe that this is not a duplicate.
I have consulted the FAQ and blog for any relevant entries or release notes.
If an exception occurs when executing a command, I executed it again in debug mode (-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 from screen-256color to tmux-256color which breaks my terminal colors. Manually setting it back to screen-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 run poetry 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:
if you know how to fix it, submit a merge request!
(personally I'd like to see poetry shell removed altogether, anyway I wouldn't expect that waiting for someone else to fix such things is likely to be a successful strategy)
I've actually skimmed the code for poetry shell but I didn't look for where the emulate command is being invoked. I'll try to confirm my suspicion later on & if it's true I'll also look more in-depth into the source code.
-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: