I used this script to set my Git Bash to start in the same folder no matter where I start it. However, I would like to not run this script on startup; i.e. revert to what happened on startup before I used this script.
The code that I used from this answer:
cd C:\specific\dir\to\open && start "" "C:\Program Files\Git\bin\sh.exe"
%let gwd = C:\specific\dir\to\open;
%sysexec(cd &gwd. && start "" "C:\Program Files\Git\bin\sh.exe" && exit);
Note: I am running this on Windows 10.
How to reproduce:
- Open Git Bash
- Run that line
- Close and reopen it.
I would like to prevent this line from running on startup. However, I do not know how to do that. Is there any way I can edit what runs on startup?