Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Linux bash terminal we can enable color.

Is it possible to achieve the same for ConEmu?

share|improve this question

2 Answers 2

Seems to me, your question is incorrect. You need to enable color in your console application, but not in ConEmu, because it is terminal, but not a shell. Refer to your shell/application manuals. For example, ls has special switch.

ls --color

There are also ANSI sequences, ConEmu supports them - you must enable two options (ATM they are on the Features page of Settings dialog)

  • Inject ConEmuHk
  • ANSI X3.64

Enabling colors in ConEmu

Of course, your application must be able to output ANSI codes to console. If they not - ConEmu can't do anything with them, because it is terminal, but not a shell.

share|improve this answer
    
I Thanks a lot for your time and helping out of this confusion. –  dearvivekkumar Mar 7 '13 at 6:55
    
This post is very helpful, but I still can't get mine to work. I've tried with cmd.exe as the underlying shell in the startup section, as well as zsh for windows and tccle.exe but when I execute "ls --color" provided by Gnuwin 32's coreutils package I just get ansi escape codes in the output. Even when I use the Git Bash console I just get ansi codes (whereas git commands via sh.exe show color). Any idea why? –  Sridhar-Sarnobat Oct 8 '13 at 19:21
    
@Sridhar-Sarnobat if you get raw ansi escape codes, why not to enable them in ConEmu? wiki –  Maximus Oct 8 '13 at 21:04
    
Appearance -> ANSI X3.64 / xterm 256 colors was already checked, and so was Miscellaneous Options -> Inject ConEmuHk. But I still get escape codes in the output. Is there soemthing else I need to do? –  Sridhar-Sarnobat Oct 8 '13 at 21:22
    
Update to preview build at least. –  Maximus Oct 9 '13 at 5:04

Have you looked in the Options dialog.

enter image description here

share|improve this answer
    
Yes I tried that earlier too. I am looking for something like for example, dir are in different color if I press ls command –  dearvivekkumar Mar 6 '13 at 16:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.