Latest PDF of my thesis in Evince.
A Windows Explorer window with the main thesis directory.
A Git BASH window.
It works perfectly apart from one small but important detail. The application icon for the Git Bash window is the normal cmd icon, not the Git icon.
@echo off rem Opens Texmaker, current directory, Git BASH and latest PDF of thesis. set texPath="C:\Program Files (x86)\Texmaker\" set docPath=%cd%\LaTeX\thesis.tex start /D %texPath% texmaker.exe %docPath% -master start %SystemRoot%\explorer.exe . start /D .\LaTeX\ thesis.pdf "C:\Program Files (x86)\Git\bin\sh.exe" --login -i
The way the code is just now, I can understand why that is the case but I have tried a few things:
Create a shortcut to git bash with a custom icon: Works when I double click the icon but not launch from the batch file.
Give the batch file a shortcut with an icon: This has no effect at all.
This is really a small annoyance, but if I have even a couple more windows open then it's difficult to spot the Git window in the taskbar. Any help would be much appreciated.