Skip to content

fix: activate already created shell (wip)#56

Closed
kenttonino wants to merge 2 commits intopython-poetry:mainfrom
kenttonino:fix/activate-already-created-shell
Closed

fix: activate already created shell (wip)#56
kenttonino wants to merge 2 commits intopython-poetry:mainfrom
kenttonino:fix/activate-already-created-shell

Conversation

@kenttonino
Copy link
Copy Markdown

Summary

  • When the shell is not yet created, it will create the shell then activate right away.
    • However, when the shell is already created, it will not activate the shell right away, it will just print a message Virtual environment already activated.



Changed

  • Once the shell is already created, activate it right away.



Test Plan

  • Create shell.
  • Deactivate the shell.
  • Create/activate the same shell.
    • It should activate the shell right away, instead of just printing the message.

@kenttonino kenttonino marked this pull request as draft April 9, 2026 15:18
@kenttonino kenttonino changed the title fix: activate already created shell fix: activate already created shell (wip) Apr 9, 2026
@kenttonino
Copy link
Copy Markdown
Author

Unnecessary. My mistake is I use deactivate. It works with exit.

@kenttonino kenttonino closed this Apr 9, 2026
@kenttonino kenttonino deleted the fix/activate-already-created-shell branch April 9, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant