-
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
add branch name in vm.
edit bashrc :
vim ~/.bashrc
add alias and branch name coloration :
execute bashrc:
. ~/.bashrc