Cmder (ConEmu based terminal)

> Operating System - Kernel (Windows, Unix, Linux)

1 - About

cmder is based on ConEmu (console emulator).

Advertising

3 - Installation

  • Download
  • Unzip below C
  • Create CMDER_ROOT
mkdir c:\cmder
  • Start Cmder and gives the user config directory (in my case within dropbox)
cd C:\cmder 
Cmder.exe /C "C:\Users\gerard\Dropbox\config\Cmder2"
Generating clink initial settings in "C:\Users\gerard\Dropbox\config\Cmder2\config\settings"
Additional *.lua files in "C:\Users\gerard\Dropbox\config\Cmder2\config" are loaded on startup.\
Creating initial user_aliases store in "C:\Users\gerard\Dropbox\config\Cmder2\config\user_aliases.cmd"...
        1 file(s) copied.
Creating user startup file: "C:\Users\gerard\Dropbox\config\Cmder2\config\user_profile.cmd"
        1 file(s) copied.
  • Register a Windows Shell Menu shortcut.
Cmder.exe /REGISTER ALL
    • Add the environment variable %CMDER_ROOT% (ie c:\cmder)
    • Add %CMDER_ROOT% to the %PATH%
    • Add the environment variable %ConEmuDir% (ie C:\cmder\vendor\conemu-maximus5)
Advertising

4 - Configuration

4.1 - User config

Individual user Cmder root folder is set with

cmder.exe /C %user_root_path%
user_root_path\
             ├───bin
             └───config
             └───profile.d

same as ??

mklink /D "C:\cmder\config" "C:\Dropbox\config\Cmder"

The launcher copies the conEmu.xml file into cmder\vendor\conemu-maximus5\ConEmu.xml so it does not get overwritten. See cmderdev/cmder/issues/695

4.2 - Bash

In order to get bash started in the current directory:

C:\cmder\vendor\git-for-windows\bin\bash.exe  -new_console:d:%CMDER_START%

5 - Just for the record

ConEmu settings storage

conEmu -loadcfgfile “full-path-2-xml”
Advertising

6 - Root

# The root path
/
# is
C:/cmder/vendor/git-for-windows

7 - Support

7.1 - Bash and slash

If a parameter has a /, it seems that it replace it with

Example: with the following parameter /mediawiki/page/title (an Xpath), I got in return C:/cmder/vendor/git-for-windows/mediawiki/page/title

One work around is to use two slashes //

See http://www.mingw.org/wiki/Posix_path_conversion