-
Open Conemu
-
Open Settings -> Tasks or go to new tab button -> Setup tasks.
-
Click
+
to add a new task -
Enter the name as
Git Bash
or whatever you like -
Task parameters:
/icon "C:\Program Files (x86)\Git\etc\git.ico" /dir "C:\Users\nicolas"
-
Command:
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
If you want to force your $HOME directory to be on local HD not network drive, you can do this as the command instead:
"set PATH=C:\Users\Ndecarteret;%PATH%" & "set HOME=C:\Users\Ndecarteret" & "C:\Program Files (x86)\Git\bin\sh.exe" --login -i
pour cmder,
j'ai installé cmder full avec git-for-windows (directement dans C:) puis
Task parameters:
/icon "C:\Cmder\icons\cmder_blue.ico" /dir "C:\Users\nicolas"
Command:
"C:\Cmder\vendor\git-for-windows\bin\sh.exe" --login -i -new_console:d:C:\Users\nicolas\code\boardbang