Skip to content

feat: Add hatch shell command#15

Merged
flying-sheep merged 3 commits into
pypa:mainfrom
karthiknadig:terminal1
Mar 24, 2026
Merged

feat: Add hatch shell command#15
flying-sheep merged 3 commits into
pypa:mainfrom
karthiknadig:terminal1

Conversation

@karthiknadig

@karthiknadig karthiknadig commented May 9, 2025

Copy link
Copy Markdown
Collaborator

Git Bash activated with hatch shell

image

Command Prompt activation using command:
image

For #14

Found some issues with hatch shell, essentially if you put the hatch command in the Command Prompt autoRun or Powershell profile. It seems to fail with pypa/hatch#1957

@flying-sheep

Copy link
Copy Markdown
Member

Doesn’t work for me, I asked what the intended usage is: pypa/hatch#1972

@karthiknadig

Copy link
Copy Markdown
Collaborator Author

@flying-sheep I think my understanding of hatch shell was bad. I assumed --name was the name of the environment.

@flying-sheep

Copy link
Copy Markdown
Member

OK this works, but it takes a while until it executes the command for some reason.

@flying-sheep flying-sheep merged commit 0107014 into pypa:main Mar 24, 2026
3 checks passed
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.

For Python Environment add the command that is need to setup the shells

2 participants