user_profile.cmd 721 B

12345678910111213141516171819
  1. :: use this file to run your own startup commands
  2. :: use in front of the command to prevent printing the command
  3. :: uncomment this to have the ssh agent load when cmder starts
  4. :: call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd" /k exit
  5. :: uncomment the next two lines to use pageant as the ssh authentication agent
  6. :: SET SSH_AUTH_SOCK=/tmp/.ssh-pageant-auth-sock
  7. :: call "%GIT_INSTALL_ROOT%/cmd/start-ssh-pageant.cmd"
  8. :: you can add your plugins to the cmder path like so
  9. :: set "PATH=%CMDER_ROOT%\vendor\whatever;%PATH%"
  10. :: arguments in this batch are passed from init.bat, you can quickly parse them like so:
  11. :: more usage can be seen by typing "cexec /?"
  12. :: %ccall% "/customOption" "command/program"
  13. @echo off