repl icon indicating copy to clipboard operation
repl copied to clipboard

Customizing `REPL_PROMPT`

Open Zearin opened this issue 13 years ago • 1 comments

So, repl checks for a REPL_PROMPT environment variable on startup.

I tried using the environment variable to colorize the prompt, but repl prints the color escape sequences literally. I also can’t use #{ARGV[0]} because it, too, is printed out verbatim.

These two things make customization with REPL_PROMPT pretty useless.

Zearin avatar Apr 26 '12 14:04 Zearin

Duplicate of issue #16.

lukateras avatar Jul 25 '13 00:07 lukateras