Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 26e45f8

Browse files
document Windows utils available for showing color (ex: ANSICON and other solutions)
1 parent 9961564 commit 26e45f8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

features/configuration/read_options_from_file.feature

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,24 @@ Feature: read command line configuration options from files
1616
lowest to highest precedence; for example, an option in `~/.rspec` can be
1717
overridden by an option in `.rspec-local`).
1818

19+
**Windows users:** The output uses ANSI escapte codes to show text in color.
20+
If you see ANSI escape codes in the output (something like `[1m [31m` ) and
21+
your text isn't in different colors, you may need to install a utility so
22+
that your Windows shell will interpret those codes correctly and show the
23+
colors. Here are some popular solutions:
24+
25+
* [ANSICON](https://github.com/adoxa/ansicon): ANSICON runs 'on top of' cmd or powershell. This is a very
26+
popular solution. You can set it up so that it's always used whenever
27+
you use cmd or powershell, or use it only at specific times.
28+
29+
* Alternatives to cmd.exe or powershell: [ConEmu](http://conemu.github.io/), [Console2](http://sourceforge.net/projects/console/),
30+
[ConsoleZ](https://github.com/cbucher/console)
31+
32+
* Unix-like shells and utilities: [cygwin](https://www.cygwin.com/), [babun](http://babun.github.io/index.html),
33+
[MinGW](http://www.mingw.org/) (Minimalist GNU for Windows)
34+
35+
More information can be found by searching for information about those solutions.
36+
1937
Scenario: Color set in `.rspec`
2038
Given a file named ".rspec" with:
2139
"""

0 commit comments

Comments
 (0)