diff options
author | Robby Russell <robby@planetargon.com> | 2019-12-20 21:45:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 21:45:39 -0800 |
commit | 16ef5cca44d23fbde33de77cf44d0f05804d43e9 (patch) | |
tree | 8c63a77760a89ea0eb77227182d193d7ac04fc10 | |
parent | 1a0500b00dd417ea2d9d3ea12bbad5318f8d7e55 (diff) | |
download | zsh-16ef5cca44d23fbde33de77cf44d0f05804d43e9.tar.gz zsh-16ef5cca44d23fbde33de77cf44d0f05804d43e9.tar.bz2 zsh-16ef5cca44d23fbde33de77cf44d0f05804d43e9.zip |
Update link for Pygments
Also moving the dependencies section up
-rw-r--r-- | plugins/colorize/README.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/colorize/README.md b/plugins/colorize/README.md index 32dc97b6e..036724a1a 100644 --- a/plugins/colorize/README.md +++ b/plugins/colorize/README.md @@ -6,11 +6,17 @@ Colorize will highlight the content based on the filename extension. If it can't method for a given extension, it will try to find one by looking at the file contents. If no highlight method is found it will just cat the file normally, without syntax highlighting. +## Setup + To use it, add colorize to the plugins array of your zshrc file: ``` plugins=(... colorize) ``` +### Requirements + +This plugin requires that Pygments be installed: [pygments.org](https://pygments.org/) + ## Styles Pygments offers multiple styles. By default, the `default` style is used, but you can choose another theme by setting the `ZSH_COLORIZE_STYLE` environment variable: @@ -29,7 +35,3 @@ Note that `cless` will behave as less when provided more than one file: you have the commands `:n` for next and `:p` for previous. The downside is that less options are not supported. But you can circumvent this by either using the LESS environment variable, or by running `ccat file1 file2|less --opts`. In the latter form, the file contents will be concatenated and presented by less as a single file. - -## Requirements - -You have to install Pygments first: [pygments.org](http://pygments.org/download.html) |