From 9e66b505a384bfea80ea88dba7b1af740ed82364 Mon Sep 17 00:00:00 2001 From: CoeJoder Date: Thu, 20 Jun 2024 01:59:01 -0700 Subject: [PATCH] Update README --- README.md | 6 +----- templates/template.README.md | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 265d725..a96fea5 100644 --- a/README.md +++ b/README.md @@ -39,17 +39,13 @@ export LESS='-R' # more styles available, see: `pygmentize -L styles` export PYGMENTIZE_STYLE='paraiso-dark' - -# optional -alias ls='ls --color=always' -alias grep='grep --color=always' ``` If you opted out of `lesspipe` in the previous step, replace the above `eval` statement with: ```shell export LESSOPEN='|~/.lessfilter %s' ``` -### 4. Generate `~/.lessfilter` (optional) +### 4. Generate `.lessfilter` (optional) This repo contains a pre-generated [.lessfilter](.lessfilter) which is currently at version `2.18.0` and is updated occasionally. You could use that and skip to the next step, even if its version lags behind that of Pygments (any unsupported file types would fallback to plain-text). You could also generate a `.lessfilter` yourself by running [main.py](main.py), which scrapes the Pygments lexer documentation website and produces a `.lessfilter` in this directory which corresponds to the latest published version: diff --git a/templates/template.README.md b/templates/template.README.md index 720388c..9255602 100644 --- a/templates/template.README.md +++ b/templates/template.README.md @@ -39,17 +39,13 @@ export LESS='-R' # more styles available, see: `pygmentize -L styles` export PYGMENTIZE_STYLE='paraiso-dark' - -# optional -alias ls='ls --color=always' -alias grep='grep --color=always' ``` If you opted out of `lesspipe` in the previous step, replace the above `eval` statement with: ```shell export LESSOPEN='|~/.lessfilter %s' ``` -### 4. Generate `~/.lessfilter` (optional) +### 4. Generate `.lessfilter` (optional) This repo contains a pre-generated [.lessfilter](.lessfilter) which is currently at version `{{ pygments_version }}` and is updated occasionally. You could use that and skip to the next step, even if its version lags behind that of Pygments (any unsupported file types would fallback to plain-text). You could also generate a `.lessfilter` yourself by running [main.py](main.py), which scrapes the Pygments lexer documentation website and produces a `.lessfilter` in this directory which corresponds to the latest published version: