jayferd/rouge — pull request #68 by michaelbaudino (2013-03-12 01:10:55+00:00)
Title: Add prompt support to Shell lexer

This PR adds support for prompt (a leading dollar sign followed by one or more spaces) in the Shell lexer.

It introduces Generic.Prompt token in this shell (Pygments compatible).

It does not confuse a prompt (`$ foo`) and a variable (`$foo`).

It includes 2 tests.