obsidian-terminal
obsidian-terminal copied to clipboard
Disabling `useWin32Conhost` causes false parsing of executable path when using GitBash profile
System
- OS: Windows 10
- Obsidian: 1.6.3
- Terminal: 3.15
Issue
~~I added the Git Bash profile via the plugin's Options tab and tested it without any edits, works like a charm. However, if I edit anything with either the Options UI or the export/import profiles option, I get the error~~
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
~~It seems to me that the process generating the profiles json file does so in a correct manner, but the code that edits the file saves it with incorrect formatting. I tried changing the path by enclosing it in escaped brackets and double backslashes "executable": "\"C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe\"", but the terminal won't start (an error message is not displayed). Resetting everything and adding the Git Bash profile again works. However, I want to edit the profile because it has a random hash as name and it is not clear that it is Git Bash.~~