pygments.lexers.shell
Lexers for various shells.
copyright: | Copyright 2006-2013 by the Pygments team, see AUTHORS. |
license: | BSD, see LICENSE for details. |
-
class pygments.lexers.shell.BashLexer(**options)[source]
Lexer for (ba|k|)sh shell scripts.
New in Pygments 0.6.
-
class pygments.lexers.shell.BashSessionLexer(**options)[source]
Lexer for simplistic shell sessions.
New in Pygments 1.1.
-
class pygments.lexers.shell.TcshLexer(**options)[source]
Lexer for tcsh scripts.
New in Pygments 0.10.
-
class pygments.lexers.shell.BatchLexer(**options)[source]
Lexer for the DOS/Windows Batch file format.
New in Pygments 0.7.
-
class pygments.lexers.shell.PowerShellLexer(**options)[source]
For Windows PowerShell code.
New in Pygments 1.5.
-
class pygments.lexers.shell.ShellSessionLexer(**options)[source]
Lexer for shell sessions that works with different command prompts
New in Pygments 1.6.