summaryrefslogtreecommitdiff
path: root/pygments/lexers/shell.py
Commit message (Collapse)AuthorAgeFilesLines
* Bash lexer: letter from "g" to "z" should also be treated as part of a ↵Hong Xu2016-02-281-1/+1
| | | | | | variable name. Fixes #1214
* Add support for highlighting the exheres-0 formatGeorg Brandl2016-02-021-0/+1
| | | | From: "Wulf C. Krueger" <philantrop@exherbo.org>
* Shell/supercollider: style fixesGeorg Brandl2015-10-171-23/+24
|
* Refs #1125: improve detection of builtins.Tim Hatch2015-10-161-1/+1
| | | | It's still too greedy, e.g. 'jobs jobs jobs' highlights all as builtins, while only the first should be.
* Merged in dscorbett/pygments-batch (pull request #430)Tim Hatch2015-10-141-37/+289
|\
| * Improve BatchLexerDavid Corbett2014-12-231-37/+289
| |
* | Cleanups in preparation for 2.1 release.Tim Hatch2015-10-141-1/+1
| |
* | Rework of shell session lexersTim Hatch2015-10-141-24/+7
| |
* | Merged in hhsprings/pygments-main (pull request #479)Tim Hatch2015-10-141-52/+86
|\ \
| * | Add Tcsh session lexerTim Hatch2015-10-141-1/+17
| | |
| * | 1. fix wrong versionadded.hhsprings2015-06-191-127/+44
| | | | | | | | | | | | 2. extract base session lexer ShellSessionBaseLexer.
| * | add MSDOSSessionLexer and PowerShellSessionLexer.hhsprings2015-06-191-1/+102
| | |
* | | Merged bucaran/pygments-main (default branch, manually) (pull request #422)Tim Hatch2015-10-131-3/+6
|\ \ \ | | | | | | | | | | | | Add FishShellLexer
| * | | Rewrite single character variable handling in BashLexerTim Hatch2015-10-091-1/+3
| | | | | | | | | | | | | | | | Fixes #877
| * | | Fix highlighting for $# in the shell lexer.Frits van Bommel2015-04-221-1/+1
| |/ / | | | | | | | | | | | | | | | If '$' is directly followed by '#' the variable ends right there. This is especially important at the end of a string, as the closing quote would be lexed as part of the variable instead, but was wrong in every other case as well. Fixed by simply removing the '#?' and letting the following '.' eat it.
| * | Added a new token type Comment.Hashbang with its documentation, and a ↵Miikka Salminen2015-03-071-1/+2
| | | | | | | | | | | | support for it in Javascript, Perl, Python, Ruby and Bash lexers.
| * | Copyright year update.Georg Brandl2015-01-211-1/+1
| |/
* | Add FishShellLexer class, example.fish and rebuild lexer mapping.Jorge Bucaran2014-11-281-1/+74
|/
* Simplify charclasses in a few more modulesGeorg Brandl2014-11-061-1/+1
|
* Curly brace escaping, round 1.Tim Hatch2014-10-151-2/+2
| | | | | These locations were all found by regexlint and done semi-manually, leaving braces within [] alone (they aren't special in the 'regex' module).
* all lexers: fix unescaped { and } so that the "regex" module can compile our ↵Georg Brandl2014-10-151-2/+2
| | | | regexes
* Closes #1016: add "shell" alias for bash.Georg Brandl2014-10-071-1/+1
|
* BashLexer: Correctly handle $'' strings.Tim Hatch2014-10-061-3/+4
|
* BashLexer: Significantly improve handling of quoted strings (and ${})Tim Hatch2014-10-061-7/+16
| | | | Fixes #994
* Replace a-z0-9_ with \w when IGNORECASE is setGaurav Jain2014-05-151-4/+4
|
* Replace all occurences of [a-zA-Z0-9_] with \wGaurav Jain2014-05-141-2/+2
|
* Fix PanLexer and TcshLexer to allow inline comments without whitespaceTim Hatch2014-04-241-2/+3
|
* Ensure that number literals with base syntax use a single tokenGaurav Jain2014-04-201-0/+1
|
* Reorder regex matches to ensure number match is before textGaurav Jain2014-04-201-1/+1
|
* Add handling of arthmetic base syntax for math expressionsGaurav Jain2014-04-201-0/+1
|
* use versionadded directivesGeorg Brandl2014-01-191-6/+6
|
* Added PKGBUILD (Arch Linux buildscripts) filename to BashLexerStefan Tatschner2014-01-101-1/+1
|
* new year in copyright noticeGeorg Brandl2014-01-101-1/+1
|
* add "batch" alias to batch lexerGeorg Brandl2014-01-091-1/+1
|
* Closes #902: add missing option "]" after prompt in ShellSession lexerGeorg Brandl2014-01-091-1/+1
|
* Closes #914: powershell: recognize escaped backtick correctlyGeorg Brandl2014-01-091-1/+1
|
* Improve BashLexerAkinori Hattori2013-11-241-2/+2
|
* Avoid highlighting intraword tokens.user2013-09-181-3/+3
|
* Closes #862: better guess for shell lexer.Georg Brandl2013-05-201-1/+4
|
* merge with mgorny/pygments-vim-modelines-r1 (pull request #118)Georg Brandl2013-05-191-1/+1
|\
| * Add vim-specific aliases for lexers.Micha? G?rny2012-10-191-1/+1
| |
* | Followup for #844, recognize pipe again.Tim Hatch2013-05-091-0/+1
| |
* | Make BashLexer recognize end of words around '&', '|', and ';' properly.Tim Hatch2013-05-091-2/+3
| | | | | | | | Fixes #844
* | Split PowerShell root into two states, so we know when a close paren isTim Hatch2013-05-091-4/+7
| | | | | | | | | | | | expected. Fixes #869
* | PowerShellLexer: more fixesgentoo902013-04-191-17/+10
| | | | | | | | | | | | | | | | * '$(...)' blocks inside double quoted strings and here-strings now highlighted as code * Here-strings can't be nested directly. Only inside '$(...)' block * Add new example with here-strings * Add 'throw' keyword * Remove redundant code
* | PowerShellLexer: minor fixesgentoo902013-04-071-6/+19
| | | | | | | | | | | | | | Add *.psm1 file extension Here-strings can be nested now Recognize escape characters in double-quoted strings Add '@', ';' and '::' to punctuation
* | Added ShellSessionLexerChristian Jann2013-01-251-1/+47
| |
* | Happy new year 2013.Georg Brandl2013-01-091-1/+1
|/
* Closes #763: bash: support here-strings.Georg Brandl2012-08-191-0/+1
|
* Closes #782: add PowerShell escape syntax outside stringsGeorg Brandl2012-08-191-0/+2
|