Skip to content

Instantly share code, notes, and snippets.

@n-anna
Forked from n3dst4/ConEmu Git Bash.md
Created January 4, 2018 20:21
Show Gist options
  • Save n-anna/ca24fd6b53db4b8162035b8e8fda91d5 to your computer and use it in GitHub Desktop.
Save n-anna/ca24fd6b53db4b8162035b8e8fda91d5 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 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment