Search code examples
terminalconemu

How to configure ConEmu to start with gitbash and on a specific directory


I just installed the ConEmu terminal, and I am having trouble configuring it to start with gitbash as my terminal instead of the windows CMD, and I would like it to start on ex: /c/Users/Kalin/Drive

I tried to randomly pass values to the settings since they are very hard to understand. I have no idea what {Shell::cmd} means in the "tasks" category (which I guess is the place to change the configs) but I have no idea. The whole thing looks like something from a commercial aircraft and I'm lost :)


Solution

  • You can try the following step-by-step instructions:

    1. Open the settings menu.
    2. Go to Startup -> Tasks in the left pane
    3. Click the + at the bottom of the list of "Predefined tasks (command groups)"
    4. In the big textbox, enter:

      c:\path\to\gitbash.exe -new_console:d:/c/Users/Kalin/Drive

    5. Save settings

    The key thing to recognise is that this is the minimal config. To begin with, you will ignore all the options. When you want to do the next tweak, then look for it in the manual.