Closed EdwardTheLegend closed 1 year ago
Good point. I didn't test on windows. It looks like Powershell 5 supports a history feature (http://woshub.com/powershell-commands-history). But that sounds like and additional feature.
Merging this for now, but to @2mawi2 s point, should we experiment with (http://woshub.com/powershell-commands-history) for Windows? @EdwardTheLegend What do you think?
Absolutely. I wonder if there is a way to write to the history for cmd as well.
Currently in the save function in history.py it checks os.environ["SHELL"] which doesn't exist on windows. This is just a quick patch to stop an ugly traceback on windows.