Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@n3dst4
Last active July 19, 2022 17:11
Show Gist options
  • Star 33 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save n3dst4/cc875d83401c06bd6faa to your computer and use it in GitHub Desktop.
Save n3dst4/cc875d83401c06bd6faa to your computer and use it in GitHub Desktop.
My ConEmu / Cmder git bash task config
  1. Open Conemu

  2. Open Settings -> Tasks or go to new tab button -> Setup tasks.

  3. Click + to add a new task

  4. Enter the name as Git Bash or whatever you like

  5. Task parameters:

     /icon "C:\Program Files (x86)\Git\etc\git.ico" /dir "C:\_git"
    
  6. 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 
@code-bode
Copy link

@pyxelr , I followed your setting and getting below error on ConEmu 220418

image

@pyxelr
Copy link

pyxelr commented May 27, 2022

@code-bode: Sorry, it is the first time I am seeing this error. It appears to me that you are not alone with this issue. Could you verify your system paths and check this suggestion from the author of ConEmu?

@code-bode
Copy link

code-bode commented Jul 19, 2022

@pyxelr , What I found is, if I run the app as admin then I don't get any error. Below is the setup I have. I never had this issue before, it's all started after new update.

image

@pyxelr
Copy link

pyxelr commented Jul 19, 2022

@code-bode: This is interesting. I have actually switched for good to Windows Terminal some months ago, and found it much better than ConEmu (and even described my config here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment