


Setting 'cmd.auto_answer' set to 'answer_yes' Read this page for a complete list of colors.įor further customization, have a look at this comment. 1 31 40 will produce a bold text in red on a black background. 👉 Tip! You can chain multiple colors codes using the semicolon character, e.g. Swap the colors of background and foreground Terminal-dependant shows text with lighter colors or decreased intensity Turns off all styles and produces a normal promptĭisplay text in bold or increased intensity If you change 32 to 33, you'll get a yellow path: List of colors Color If you change 32 to 36, you'll get a cyan path: So 31 47 1 produces a red text in white background in bold). codes 30-37 set the foreground text color, codes 40-47 set the background color, code 1 makes the text bold. Each number can be prepended using a semicolon in order to add to the text style (e.g. m in the documentation, or \x1b[ nnn m in our a file.įor example, \x1b[1 32 40m will display a green text. The color is controlled by escape sequences, which is written as ESC [. Prompt_singleLine = true Demo Prompt Color In order to make persistent changes across updates, you'll need to edit the clink profile file at the following path: The default prompt text and color are defined in the the vendor directory here and should not be modified. You can read the manual to learn the syntax, if you are interested. 👉 Note: Clink uses a programming language - called Lua - in order to store its configuration files. We will explain how you will be able to change properties such as the prompt text, color, and auto-answer to Ctrl-C behavior. The shell for cmd is enhanced by clink and clink-completions that are included in your Cmder package. If you're using another shell, you need to also configure it to your liking. When you open Cmder, the default cmd shell is displayed. The customization guide below only works with the recent versions of Cmder, older versions do not include the required files for configuration.Ĭmder can run a variety of different shell profiles (e.g. Make sure you update to the latest version of Cmder before applying customizations to your shell.The configuration files and modification needs to be placed in the \config directory.ĭo not edit the files in the \vendor directory, as they will get overwritten on each Cmder update.This page will explain how you can modify the look and different behaviors of Cmder to your needs.īy the way, You can ✨ contribute to this page too! 📜 Table of contents
