Reputation: 305
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 :)
Upvotes: 3
Views: 3995
Reputation: 149
Rather the simple way must be to add the path under Task Parameters
as
/dir "C:\Dir\subDir....."
Upvotes: 0
Reputation: 801
In the latest version, this configuration is more simplified. Just do as follows
Go to {Bash:Git bash} predefined task
In the big text area, keep your cursor to the end of the prepopulated text, so that it is right after -new_console:d:
text
Below the big text area, you will see the following options
Add: Tab... | Startup dir... | File Path ... | Active tabs
Just pick your startup directory from Startup dir...
option
Restart ConEmu and you will see the session starts with the startup directory you have configured.
Upvotes: 1
Reputation: 159
NameGoesHere's answer worked for me. I just had to make one modification on the fourth step:
When you set your directory you need to use "new_console:d:c/Users/Kalin/Drive", whithout the bar after "new_console:d:".
Upvotes: 0
Reputation: 276
You can try the following step-by-step instructions:
In the big textbox, enter:
c:\path\to\gitbash.exe -new_console:d:/c/Users/Kalin/Drive
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.
Upvotes: 7