pypa / hatch

Modern, extensible Python project management
https://hatch.pypa.io/latest/
MIT License
6.11k stars 309 forks source link

cmd shell is not having access to command history #1811

Open abulgher opened 2 weeks ago

abulgher commented 2 weeks ago

Current behavior

I cannot access cmd (windows prompt) history when I enter an environment shell using hatch shell .

Expected behavior

I was expecting to push arrow up to get the last inserted command, but nothing happens. Pressing & holding F7 does not show the list of last commands.

Additional context

History is working normally, if I activate the shell manually with path\to\env\Scripts\Activate.

Debug

Installation

Configuration

mode = "local"
project = ""
shell = ""

[dirs]
project = []
python = "isolated"
data = "C:\\Users\\bulghao\\AppData\\Local\\hatch"
cache = "C:\\Users\\bulghao\\AppData\\Local\\hatch\\Cache"

[dirs.env]

[projects]

[template]
name = "***********"
email = "*******"

[template.licenses]
headers = true
default = [
    "MIT",
]

[template.plugins.default]
tests = true
ci = false
src-layout = true

[terminal.styles]
info = "bold"
success = "bold cyan"
error = "bold red"
warning = "bold yellow"
waiting = "bold magenta"
debug = "bold"
spinner = "simpleDotsScrolling"