Skip to content

Instantly share code, notes, and snippets.

@antonSavk
Forked from nickautomatic/cmder.md
Created August 6, 2018 06:47
Show Gist options
  • Select an option

  • Save antonSavk/198a24a86f96b1a699a59161e201f52d to your computer and use it in GitHub Desktop.

Select an option

Save antonSavk/198a24a86f96b1a699a59161e201f52d to your computer and use it in GitHub Desktop.
Setting up Cmder to use bash by default

Set up cmder to use msysgit / bash by default

  • Install cmder_mini (msysgit is already installed, so no need for full version)
  • In Cmder, open settings: Win + Alt + P
  • Under Startup > Tasks, add a task called {bash} with the following settings:
    • Task parameters (set icon):
      • For Cmder icon: /icon "%CMDER_ROOT%\cmder.exe"
      • For Git icon: /icon "C:\Program Files (x86)\Git\etc\git.ico"
    • Commands (open Git's bash shell):
      • "C:\Program Files (x86)\Git\bin\sh.exe" -l -new_console:d:%USERPROFILE%
  • Under Startup, set startup options to Specified name task --> {bash}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment