Add a user startup file which can be modified

Up to now, init.bat would be overwritten when a user updated
Cmder. The new mechanism will create a new (mostly empty) file
for the user to enter commands which will then be executed on
each following startup.
This commit is contained in:
Jan Schulz
2015-08-25 19:44:23 +02:00
parent 2a26026749
commit 48259b87ac
2 changed files with 18 additions and 2 deletions

View File

@ -62,7 +62,7 @@ All aliases will be saved in `/config/aliases` file
To start SSH agent simply call `start-ssh-agent`, which is in the `vendor/git-for-windows/cmd` folder.
If you want to run SSH agent on startup, uncomment the line in `/vendor/init.bat`so it says `@call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd"`.
If you want to run SSH agent on startup, include the line `@call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd"` in `/config/user-startup.bat` (usually just uncomment it).
## Todo