The llm_cmd.py only generates bash script now. To make it work on PowerShell, I made two changes in cmd_plugin.py:
- Updated the system prompt
- Use the PowerShellLexer
Ideally, the current environment can be detected automatically so it automatically works on either bash or PowerShell.
The llm_cmd.py only generates bash script now. To make it work on PowerShell, I made two changes in cmd_plugin.py:
Ideally, the current environment can be detected automatically so it automatically works on either bash or PowerShell.