I have installed Console2 and Cygwin too. I like to run Cygwin terminal as Console2. So i want to integrate Console2 over Cygwin. I have seen other guys use Cygwin like that. How to do it?


I have a batch script's path in the tab's Shell field, with this as its contents:

@echo off

set path=%PROGRAMPATH%\cygwin\bin;%PROGRAMPATH%\cygwin\usr\X11R6\bin;%PATH%
set SHELL=/bin/bash
set CYGWIN=codepage:437
set HOME=/home/paradroid

%PROGRAMPATH%\cygwin\bin\bash --login -i

Obviously, you will need to edit the Cygwin path and the username for the home directory.

  • Woww! Thats works!! Thats so great and thanks!! Additionally, let me know-- What is %PROGRAMPATH% ? I used static "C:" for that. – 4lvin Jul 26 '11 at 1:24
  • @4lvin: It's an environmental variable example which I said you would need to alter to fit the way you have things set up. – paradroid Jul 26 '11 at 1:47
  • Thanks paradroid. It works for me now. Do you have a way to change the details color theme of Console? – 4lvin Jul 26 '11 at 1:51
  • @4lvin: I'm not sure what you mean, but I just alter the standard ANSI colours in the Console2 settings slightly (lighter) so that they display nicely across all shells I use. If you want to change specific colour settings in Cygwin you will need to edit your .bashrc. – paradroid Jul 26 '11 at 2:01
  • @4lvin github.com/mztriz/Console2-Twilight-Theme – 에이바 Oct 8 '12 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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