Terminal history is incorrect

When I press the up arrow, Webstorm shows various python related commands. I do have Pycharm community but am not using it at the moment. Restarting a terminal session, Webstorm, or Windows 10 does not reset the history, it keeps showing python commands for some strange reason.

I have my terminal set to Git Bash at: C:\Program Files\Git\bin\sh.exe

Webstorm version:

WebStorm 2017.3.5
Build #WS-173.4674.32, built on March 6, 2018
Licensed to WebStorm Evaluator
Expiration date: April 18, 2018
JRE: 1.8.0_152-release-1024-b15 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

0
2 comments
Avatar
Permanently deleted user

Forgot to mention: I am not using Python at all at the moment, so those commands should not appear first in the terminal's history. Javascript or OS related commands do appear in history during the session; starting a new session seems to erase them.

0

It's strange, as the IDE doesn't store terminal history between sessions, and for sure history from one IDE is not available in the other. These commands must come from your shell history/startup hooks, not from the IDE...

1

Please sign in to leave a comment.